Adding VariableBatchStep api which allows users to find the current step at which an update using the Variable Batch strategy is currently in.
This commit is contained in:
parent
f43a257726
commit
a4b89feb0e
2 changed files with 55 additions and 0 deletions
|
@ -451,6 +451,13 @@ func main() {
|
|||
}
|
||||
fmt.Println(resp.String())
|
||||
|
||||
case "variableBatchStep":
|
||||
step, err := r.VariableBatchStep(aurora.JobUpdateKey{Job: job.JobKey(), ID: updateId})
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
fmt.Println(step)
|
||||
|
||||
case "taskConfig":
|
||||
fmt.Println("Getting job info")
|
||||
live, err := r.GetInstanceIds(job.JobKey(), aurora.ACTIVE_STATES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue