Skip to content

Commit

Permalink
fix: check service name
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Nov 27, 2024
1 parent c55187f commit 93b7ac6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmd/kubectl-testkube/commands/testworkflows/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,7 @@ func watchTestWorkflowLogs(id string, signature []testkube.TestWorkflowSignature
return nil, err
}

result := printTestWorkflowLogs(signature, notifications)
return result, nil
return printTestWorkflowLogs(signature, notifications), nil
}

func watchTestWorkflowServiceLogs(id, serviceName string, serviceIndex int,
Expand Down Expand Up @@ -370,8 +369,7 @@ func watchTestWorkflowServiceLogs(id, serviceName string, serviceIndex int,
break
}

result := printTestWorkflowLogs(signature, notifications)
return result, nil
return printTestWorkflowLogs(signature, notifications), nil
}

func printStatusHeader(i, n int, name string) {
Expand Down

0 comments on commit 93b7ac6

Please sign in to comment.