Skip to content

Commit

Permalink
fix error string
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbailey committed Jan 11, 2021
1 parent 0db81a8 commit 2e5b57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/e2eutil/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func JobInspectTemplate(jobID, template string) (string, error) {
cmd := exec.Command("nomad", "job", "inspect", "-t", template, jobID)
out, err := cmd.CombinedOutput()
if err != nil {
return "", fmt.Errorf("could not register job: %w\n%v", err, string(out))
return "", fmt.Errorf("could not inspect job: %w\n%v", err, string(out))
}
outStr := string(out)
outStr = strings.TrimSuffix(outStr, "\n")
Expand Down

0 comments on commit 2e5b57a

Please sign in to comment.