Skip to content

Commit

Permalink
Minor update for log message
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
  • Loading branch information
yeahdongcn committed Jul 23, 2024
1 parent e82c346 commit e09b81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/k8sgpt_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (r *K8sGPTReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctr

operatorNamespace := os.Getenv("OPERATOR_NAMESPACE")
if k8sgptConfig.Namespace != operatorNamespace {
fmt.Printf("K8sGPT CR %s is not in the operator namespace %s\n",
fmt.Printf("K8sGPT CR (%s) is not in the operator namespace (%s)\n",
k8sgptConfig.Name, operatorNamespace)
k8sgptReconcileErrorCount.With(prometheus.Labels{
"k8sgpt": k8sgptConfig.Name,
Expand Down

0 comments on commit e09b81f

Please sign in to comment.