Skip to content

Commit

Permalink
Merge pull request #17 from ovh/dev/cgallot/status_not_implemeted_yet
Browse files Browse the repository at this point in the history
don't try log status when couldn't retrieve it
  • Loading branch information
Kureeru committed Mar 14, 2022
2 parents a685b04 + 4f12e81 commit b0dbbd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions submit.go
Expand Up @@ -351,6 +351,7 @@ statusLoop:
job, err = c.GetStatus(args.ProjectID, job.ID)
if err != nil {
log.Printf("Unable to retrieve status for job: %s", err)
break
}
switch job.Status {
case JobStatusUNKNOWN, JobStatusSUBMITTED, JobStatusPENDING:
Expand Down

0 comments on commit b0dbbd2

Please sign in to comment.