Added tests for draining. run go test with a aurora vagrant image running to test.
This commit is contained in:
parent
7db2395df1
commit
430764f025
2 changed files with 49 additions and 7 deletions
|
@ -187,7 +187,6 @@ func (m *Monitor) HostMaintenance(hosts []string, modes []aurora.MaintenanceMode
|
|||
}
|
||||
|
||||
if len(hostMode) == 0 {
|
||||
fmt.Println("Provided hosts have all entered desired state(s)")
|
||||
return true, nil
|
||||
} else {
|
||||
fmt.Printf("%d host(s) not in desired state\n", len(hostMode))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue