Skip to content

Commit 5877a38

Browse files
moko-poielmiko
andauthored
fix: correct error message for kube config creation
Co-authored-by: Michael McCune <[email protected]>
1 parent ea17ec4 commit 5877a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/operator/operator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func buildManagementClusterKubeClient(ctx context.Context, operator *operator.Op
8282
o.Scheme = operator.GetScheme()
8383
})
8484
if err != nil {
85-
return nil, fmt.Errorf("unable to create new cluster for management cluster: %w", err)
85+
return nil, fmt.Errorf("unable to create new kube config for management cluster: %w", err)
8686
}
8787
if err = operator.Add(mgmtCluster); err != nil {
8888
return nil, fmt.Errorf("unable to add management cluster to operator: %w", err)

0 commit comments

Comments
 (0)