Skip to content

Commit

Permalink
Fix backing image manager webhook is never called
Browse files Browse the repository at this point in the history
Longhorn 6328

Signed-off-by: Eric Weber <eric.weber@suse.com>
(cherry picked from commit 0a0fd7d)
(cherry picked from commit 1153859)
  • Loading branch information
ejweber authored and PhanLe1010 committed Aug 2, 2023
1 parent 57839ae commit 946d139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webhook/resources/backingimagemanager/mutator.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewMutator(ds *datastore.DataStore) admission.Mutator {

func (b *backingImageManagerMutator) Resource() admission.Resource {
return admission.Resource{
Name: "backingImageManagers",
Name: "backingimagemanagers",
Scope: admissionregv1.NamespacedScope,
APIGroup: longhorn.SchemeGroupVersion.Group,
APIVersion: longhorn.SchemeGroupVersion.Version,
Expand Down

0 comments on commit 946d139

Please sign in to comment.