From d28fb177f798fa6ce6105c14321e16e2c65ffff7 Mon Sep 17 00:00:00 2001 From: Jacek Wysocki Date: Fri, 19 Nov 2021 15:49:21 +0100 Subject: [PATCH] fix: reordered messages --- cmd/kubectl-testkube/commands/scripts/common.go | 1 - cmd/kubectl-testkube/commands/scripts/start_script.go | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/kubectl-testkube/commands/scripts/common.go b/cmd/kubectl-testkube/commands/scripts/common.go index 4e247994c49..c7d133f0fbc 100644 --- a/cmd/kubectl-testkube/commands/scripts/common.go +++ b/cmd/kubectl-testkube/commands/scripts/common.go @@ -75,7 +75,6 @@ func watchLogs(id string, client client.Client) { uiShellCommandBlock(id) - ui.Warn("Script execution completed in", execution.Duration().String()) return } } diff --git a/cmd/kubectl-testkube/commands/scripts/start_script.go b/cmd/kubectl-testkube/commands/scripts/start_script.go index c9a02c13fbc..676b6de07bc 100644 --- a/cmd/kubectl-testkube/commands/scripts/start_script.go +++ b/cmd/kubectl-testkube/commands/scripts/start_script.go @@ -42,7 +42,6 @@ func NewStartScriptCmd() *cobra.Command { printExecutionDetails(execution) - uiPrintStatus(execution) uiShellCommandBlock(execution.Id) if watchEnabled { @@ -52,6 +51,8 @@ func NewStartScriptCmd() *cobra.Command { if downloadArtifactsEnabled { downloadArtifacts(execution.Id, downloadDir, client) } + + uiPrintStatus(execution) }, }