From c71f5c810dc52e6246d183ad99f64b6046a4653d Mon Sep 17 00:00:00 2001 From: Vladislav Sukhin Date: Mon, 25 Nov 2024 19:26:38 +0300 Subject: [PATCH] fix: change log Signed-off-by: Vladislav Sukhin --- cmd/kubectl-testkube/commands/testworkflows/executions.go | 2 +- cmd/kubectl-testkube/commands/testworkflows/run.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/kubectl-testkube/commands/testworkflows/executions.go b/cmd/kubectl-testkube/commands/testworkflows/executions.go index 66e297df84..bdd328da32 100644 --- a/cmd/kubectl-testkube/commands/testworkflows/executions.go +++ b/cmd/kubectl-testkube/commands/testworkflows/executions.go @@ -75,7 +75,7 @@ func NewGetTestWorkflowExecutionsCmd() *cobra.Command { ui.Info("Getting logs for test workflow execution", executionID) logs, err := client.GetTestWorkflowExecutionLogs(executionID) - ui.ExitOnError("getting logs from executor", err) + ui.ExitOnError("getting logs from test workflow", err) sigs := flattenSignatures(execution.Signature) diff --git a/cmd/kubectl-testkube/commands/testworkflows/run.go b/cmd/kubectl-testkube/commands/testworkflows/run.go index 573553c4a1..0116fedd83 100644 --- a/cmd/kubectl-testkube/commands/testworkflows/run.go +++ b/cmd/kubectl-testkube/commands/testworkflows/run.go @@ -298,7 +298,7 @@ func watchTestWorkflowLogs(id string, signature []testkube.TestWorkflowSignature ui.Info("Getting logs from test workflow job", id) notifications, err := client.GetTestWorkflowExecutionNotifications(id) - ui.ExitOnError("getting logs from executor", err) + ui.ExitOnError("getting logs from test workflow", err) steps := flattenSignatures(signature) @@ -328,7 +328,7 @@ func watchTestWorkflowServiceLogs(id, serviceName string, serviceIndex int, sign ui.Info("Getting logs from test workflow service pod", fmt.Sprintf("%s-%s-%d", id, serviceName, serviceIndex)) notifications, err := client.GetTestWorkflowExecutionServiceNotifications(id, serviceName, serviceIndex) - ui.ExitOnError("getting logs from executor", err) + ui.ExitOnError("getting logs from service", err) steps := flattenSignatures(signature)