Skip to content

Commit

Permalink
fix: reordered messages
Browse files Browse the repository at this point in the history
  • Loading branch information
exu committed Nov 19, 2021
1 parent f22fc2e commit d28fb17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion cmd/kubectl-testkube/commands/scripts/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ func watchLogs(id string, client client.Client) {

uiShellCommandBlock(id)

ui.Warn("Script execution completed in", execution.Duration().String())
return
}
}
Expand Down
3 changes: 2 additions & 1 deletion cmd/kubectl-testkube/commands/scripts/start_script.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ func NewStartScriptCmd() *cobra.Command {

printExecutionDetails(execution)

uiPrintStatus(execution)
uiShellCommandBlock(execution.Id)

if watchEnabled {
Expand All @@ -52,6 +51,8 @@ func NewStartScriptCmd() *cobra.Command {
if downloadArtifactsEnabled {
downloadArtifacts(execution.Id, downloadDir, client)
}

uiPrintStatus(execution)
},
}

Expand Down

0 comments on commit d28fb17

Please sign in to comment.