Skip to content

Commit

Permalink
initialzier: propagate error from copying logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yorugac committed Oct 2, 2024
1 parent 95cbf37 commit 343ca6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func inspectTestRun(ctx context.Context, log logr.Logger, k6 v1alpha1.TestRunI,
_, err = io.Copy(buf, podLogs)
if err != nil {
log.Error(err, "unable to copy logs from the pod")
returnErr = err
return
}

Expand Down

0 comments on commit 343ca6d

Please sign in to comment.