Skip to content

Commit

Permalink
Fix DeepCopy issue
Browse files Browse the repository at this point in the history
Signed-off-by: Rokibul Hasan <[email protected]>
  • Loading branch information
RokibulHasan7 committed Oct 10, 2024
1 parent 59b2753 commit 87353d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/feature_installer/opscenter_features.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func InitializeServer(fakeServer *FakeServer, profile *profilev1alpha1.ManagedCl

if clusterMetadata.CAPI != nil {
if clusterMetadata.CAPI.Provider != "" {
if err := unstructured.SetNestedField(overrides, clusterMetadata.CAPI.Provider, "clusterMetadata", "capi", "provider"); err != nil {
if err := unstructured.SetNestedField(overrides, string(clusterMetadata.CAPI.Provider), "clusterMetadata", "capi", "provider"); err != nil {
return nil, err
}
}
Expand Down

0 comments on commit 87353d0

Please sign in to comment.