moving subsequent function arguments into separate lines.
This commit is contained in:
parent
a642f78bfc
commit
75168b2845
1 changed files with 9 additions and 3 deletions
|
@ -351,7 +351,9 @@ func main() {
|
||||||
resp, err := r.AddInstances(aurora.InstanceKey{
|
resp, err := r.AddInstances(aurora.InstanceKey{
|
||||||
JobKey: job.JobKey(),
|
JobKey: job.JobKey(),
|
||||||
InstanceId: instId,
|
InstanceId: instId,
|
||||||
}, numOfInstances)
|
},
|
||||||
|
numOfInstances)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
@ -442,7 +444,9 @@ func main() {
|
||||||
resp, err := r.AbortJobUpdate(aurora.JobUpdateKey{
|
resp, err := r.AbortJobUpdate(aurora.JobUpdateKey{
|
||||||
Job: job.JobKey(),
|
Job: job.JobKey(),
|
||||||
ID: updateId,
|
ID: updateId,
|
||||||
}, "")
|
},
|
||||||
|
"")
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
@ -454,7 +458,9 @@ func main() {
|
||||||
resp, err := r.RollbackJobUpdate(aurora.JobUpdateKey{
|
resp, err := r.RollbackJobUpdate(aurora.JobUpdateKey{
|
||||||
Job: job.JobKey(),
|
Job: job.JobKey(),
|
||||||
ID: updateId,
|
ID: updateId,
|
||||||
}, "")
|
},
|
||||||
|
"")
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue