update api change and remove os.exit

This commit is contained in:
Kumar Krishna 2016-11-14 23:16:36 -08:00
parent 8905233375
commit 3b10c10dd1
3 changed files with 39 additions and 9 deletions

View file

@ -272,7 +272,7 @@ func main() {
fmt.Println(err)
os.Exit(1)
}
updateJob := realis.NewUpdateJob(taskConfig)
updateJob := realis.NewDefaultUpdateJob(taskConfig)
updateJob.InstanceCount(5).RAM(128)
resp, err := r.StartJobUpdate(updateJob, "")