Changing timeouts to Duration types for giving the user an easier time setting high amoutns of time. Added support for sla-drain count and percentage policies. Coordination policy is to be implemented. Bumped up version number and fixed eimplicit recon calling the wrong API function.

This commit is contained in:
Renan DelValle 2018-11-20 20:11:21 -08:00
parent 2de607464f
commit ef76abd73c
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
5 changed files with 84 additions and 35 deletions

View file

@ -65,8 +65,8 @@ func maintenanceMonitorPrint(hostResult map[string]bool, desiredStates []aurora.
if toJson {
fmt.Println(toJSON(output))
} else {
fmt.Printf("Entered %v status: %v", output.DesiredStates, output.Transitioned)
fmt.Printf("Did not enter %v status: %v", output.DesiredStates, output.NonTransitioned)
fmt.Printf("Entered %v status: %v\n", output.DesiredStates, output.Transitioned)
fmt.Printf("Did not enter %v status: %v\n", output.DesiredStates, output.NonTransitioned)
}
}
}