зеркало из https://github.com/Azure/etcd-operator.git
Merge pull request #1783 from fanminshi/fix_crd_flag
cmd: add parse() to parse flags in etcd backup operator
This commit is contained in:
Коммит
e37f57309f
|
@ -42,6 +42,7 @@ var (
|
|||
|
||||
func init() {
|
||||
flag.BoolVar(&createCRD, "create-crd", true, "The backup operator will not create the EtcdBackup CRD when this flag is set to false.")
|
||||
flag.Parse()
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче