Changing some of the API to allow killing of a single task
Updated AddInstances command to now use InstanceKey allow flexibility Removing line that's not needed
This commit is contained in:
parent
155940c761
commit
07173df33c
3 changed files with 21 additions and 9 deletions
|
@ -117,7 +117,7 @@ func main() {
|
|||
break
|
||||
case "flexUp":
|
||||
fmt.Println("Flexing up job")
|
||||
response, err := r.AddInstances(job.JobKey(), 5)
|
||||
response, err := r.AddInstances(&aurora.InstanceKey{job.JobKey(), 0}, 5)
|
||||
if err != nil {
|
||||
fmt.Print(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue