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
|
@ -365,7 +365,11 @@ pulseLoop:
|
|||
for {
|
||||
select {
|
||||
case <-ticker.C:
|
||||
pulseStatus, err := r.PulseJobUpdate(result.GetKey())
|
||||
if result.GetKey() == nil {
|
||||
continue
|
||||
}
|
||||
|
||||
pulseStatus, err := r.PulseJobUpdate(*result.GetKey())
|
||||
|
||||
assert.Nil(t, err)
|
||||
if pulseStatus != aurora.JobUpdatePulseStatus_OK && pulseStatus != aurora.JobUpdatePulseStatus_FINISHED {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue