Changing default timeout for start maintenance.

This commit is contained in:
Renan DelValle 2018-12-21 13:39:02 -08:00
parent ad4dd9606e
commit 7cbbea498b
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9

View file

@ -43,7 +43,7 @@ func init() {
// SLA Maintenance specific flags
startMaintenanceCmd.Flags().DurationVar(&monitorInterval,"interval", time.Second * 5, "Interval at which to poll scheduler.")
startMaintenanceCmd.Flags().DurationVar(&monitorTimeout,"timeout", time.Minute * 1, "Time after which the monitor will stop polling and throw an error.")
startMaintenanceCmd.Flags().DurationVar(&monitorTimeout,"timeout", time.Minute * 10, "Time after which the monitor will stop polling and throw an error.")
}
var startCmd = &cobra.Command{