Changing %v to %+v for composite structs. Removing a repetitive statement for the Aurora return code.

This commit is contained in:
Renan DelValle 2018-03-06 16:25:04 -08:00
parent 65fcb59879
commit bfd9e985c2
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
3 changed files with 22 additions and 25 deletions

View file

@ -69,7 +69,7 @@ func (m *Monitor) JobUpdate(updateKey aurora.JobUpdateKey, interval int, timeout
// if we encounter an inactive state and it is not at rolled forward, update failed
switch status {
case aurora.JobUpdateStatus_ROLLED_FORWARD:
m.Client.RealisConfig().infoLogger.Println("Update succeded")
m.Client.RealisConfig().infoLogger.Println("Update succeeded")
return true, nil
case aurora.JobUpdateStatus_FAILED:
m.Client.RealisConfig().infoLogger.Println("Update failed")