Skip to content

Commit 9fec266

Browse files
committed
pacify linter
1 parent da7475f commit 9fec266

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/openmcp-operator/app/init.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ func (o *InitOptions) Complete(ctx context.Context) error {
7676
return nil
7777
}
7878

79+
//nolint:gocyclo
7980
func (o *InitOptions) Run(ctx context.Context) error {
8081
if err := o.PlatformCluster.InitializeClient(install.InstallOperatorAPIsPlatform(install.InstallCRDAPIs(runtime.NewScheme()))); err != nil {
8182
return err
@@ -168,6 +169,7 @@ func (o *InitOptions) Run(ctx context.Context) error {
168169
}
169170
}
170171

172+
// create/update PlatformService
171173
mcpPSName := o.ProviderName
172174
if mcpPSName == "" {
173175
mcpPSName = strings.ToLower(managedcontrolplane.ControllerName)

0 commit comments

Comments
 (0)