Skip to content

Commit

Permalink
Log helm command before running it
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Jun 4, 2019
1 parent 093cb24 commit a6104bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/loadtester/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func (task *HelmTask) Hash() string {

func (task *HelmTask) Run(ctx context.Context) (bool, error) {
cmd := exec.CommandContext(ctx, "bash", "-c", "helm "+task.command)
task.logger.With("canary", task.canary).Infof("running command %v", cmd.Args)
out, err := cmd.CombinedOutput()

if err != nil {
Expand Down

0 comments on commit a6104bf

Please sign in to comment.