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:
parent
269988a737
commit
1f06d78362
6 changed files with 9 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue