Skip to content

Commit

Permalink
formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekr-splunk committed Oct 28, 2024
1 parent 51a47c4 commit e08d441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/splunk/enterprise/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func ApplySplunkConfig(ctx context.Context, client splcommon.ControllerClient, c
err = ReconcileCRSpecificConfigMap(ctx, client, cr)
if err != nil {
return nil, err
}
}

return namespaceScopedSecret, nil
}
Expand All @@ -243,7 +243,7 @@ func ReconcileCRSpecificConfigMap(ctx context.Context, client splcommon.Controll
reqLogger := log.FromContext(ctx)
scopedLog := reqLogger.WithName("ReconcileCRSpecificConfigMap").WithValues("name", cr.GetName(), "namespace", cr.GetNamespace())

configMapName:= fmt.Sprintf("splunk-config-%s", cr.GetName())
configMapName := fmt.Sprintf("splunk-config-%s", cr.GetName())
namespacedName := types.NamespacedName{Namespace: cr.GetNamespace(), Name: configMapName}

configMap, err := splctrl.GetConfigMap(ctx, client, namespacedName)
Expand Down

0 comments on commit e08d441

Please sign in to comment.