Changing calls on functions that use JobUpdateKey to reflect change made for memory safety.
This commit is contained in:
parent
4fc4953ec4
commit
235f854087
2 changed files with 7 additions and 3 deletions
|
@ -377,7 +377,7 @@ func main() {
|
|||
|
||||
case "resumeJobUpdate":
|
||||
key := job.JobKey()
|
||||
err := r.ResumeJobUpdate(&aurora.JobUpdateKey{
|
||||
err := r.ResumeJobUpdate(aurora.JobUpdateKey{
|
||||
Job: &key,
|
||||
ID: updateId,
|
||||
}, "")
|
||||
|
@ -388,7 +388,7 @@ func main() {
|
|||
|
||||
case "pulseJobUpdate":
|
||||
key := job.JobKey()
|
||||
resp, err := r.PulseJobUpdate(&aurora.JobUpdateKey{
|
||||
resp, err := r.PulseJobUpdate(aurora.JobUpdateKey{
|
||||
Job: &key,
|
||||
ID: updateId,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue