Adding interval and timeout flags for start and stop drain.

This commit is contained in:
Renan DelValle 2018-05-30 18:15:16 -07:00
parent afa7a5d14f
commit 51daad88eb
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
2 changed files with 10 additions and 3 deletions

View file

@ -28,6 +28,8 @@ var insecureSkipVerify bool
var caCertsPath string
var clientKey, clientCert string
var monitorInterval, monitorTimeout int
func init() {
rootCmd.PersistentFlags().StringVarP(&zkAddr, "zookeeper", "z", "", "Zookeeper node(s) where Aurora stores information.")
rootCmd.PersistentFlags().StringVarP(&username, "username", "u", "", "Username to use for API authentication")