Skip to content

Commit

Permalink
fix: change log
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
  • Loading branch information
vsukhin committed Nov 25, 2024
1 parent 2c77962 commit c71f5c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/kubectl-testkube/commands/testworkflows/executions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions cmd/kubectl-testkube/commands/testworkflows/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit c71f5c8

Please sign in to comment.