jobqueue: rename ID to ComposeID in job structs

It's not an id of the job, but the compose id.
This commit is contained in:
Lars Karlitski 2020-03-31 13:10:01 +02:00 committed by Tom Gundersen
parent 269988a737
commit 1f06d78362
6 changed files with 9 additions and 9 deletions

View file

@ -55,7 +55,7 @@ func handleJob(client *jobqueue.Client) error {
return err
}
fmt.Printf("Running job %s\n", job.ID.String())
fmt.Printf("Running job %s\n", job.ComposeID.String())
result, err := job.Run(client)
if err != nil {
log.Printf(" Job failed: %v", err)