Skip to content

Commit fcef1d3

Browse files
Merge pull request openshift#8084 from patrickdillon/capi-controller-logging
CORS-3273: capi system: don't log env vars
2 parents 2729e65 + 1a01685 commit fcef1d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/clusterapi/system.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ func (c *system) runController(ctx context.Context, ct *controller) error {
463463
}
464464

465465
// Run the controller and store its state.
466-
logrus.Infof("Running process: %s with args %v and env %v", ct.Name, ct.Args, env)
466+
logrus.Infof("Running process: %s with args %v", ct.Name, ct.Args)
467467
if err := pr.Start(ctx, os.Stdout, os.Stderr); err != nil {
468468
return fmt.Errorf("failed to start controller %q: %w", ct.Name, err)
469469
}

0 commit comments

Comments
 (0)