Skip to content

Commit

Permalink
Update unstructured.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sheidkamp committed Nov 12, 2024
1 parent c2203e8 commit 6d56f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installutils/kuberesource/unstructured.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func ConvertUnstructured(res *unstructured.Unstructured) (runtime.Object, error)
obj = &v1beta1.MutatingWebhookConfiguration{TypeMeta: typeMeta}
case "HorizontalPodAutoscaler":
obj = &autoscaling.HorizontalPodAutoscaler{TypeMeta: typeMeta}
case "ValidatingConfigurationWebhook":
case "ValidatingWebhookConfiguration":
obj = &admissionregistrationv1.ValidatingWebhookConfiguration{TypeMeta: typeMeta}
default:
return nil, eris.Errorf("cannot convert kind %v", kind)
Expand Down

0 comments on commit 6d56f75

Please sign in to comment.