Skip to content

Commit

Permalink
Issue argoproj#988 - Submit should not print logs to stdout unless ou…
Browse files Browse the repository at this point in the history
…tput is 'wide' (argoproj#1192)
  • Loading branch information
alexmt authored Jan 25, 2019
1 parent 17250f3 commit 831e219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/argo/commands/submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func unmarshalWorkflows(wfBytes []byte, strict bool) []wfv1.Workflow {

func waitOrWatch(workflowNames []string, cliSubmitOpts cliSubmitOpts) {
if cliSubmitOpts.wait {
WaitWorkflows(workflowNames, false, cliSubmitOpts.output == "json")
WaitWorkflows(workflowNames, false, !(cliSubmitOpts.output == "" || cliSubmitOpts.output == "wide"))
} else if cliSubmitOpts.watch {
watchWorkflow(workflowNames[0])
}
Expand Down

0 comments on commit 831e219

Please sign in to comment.