From 165e96466de058fb17ecfafa2b30332edd3629cb Mon Sep 17 00:00:00 2001 From: Nhat Tan Le Date: Fri, 13 Nov 2020 15:24:35 -0800 Subject: [PATCH] set zk=localhost if zk is not indicated --- cmd/fetch.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/fetch.go b/cmd/fetch.go index 83ffa10..7d93468 100644 --- a/cmd/fetch.go +++ b/cmd/fetch.go @@ -128,7 +128,6 @@ var mesosCmd = &cobra.Command{ PersistentPreRun: func(cmd *cobra.Command, args []string) {}, // We don't need a realis client for this cmd PersistentPostRun: func(cmd *cobra.Command, args []string) {}, // We don't need a realis client for this cmd PreRun: setConfig, - Args: cobra.MinimumNArgs(1), Short: "Fetch current Mesos-master leader given Zookeeper nodes. ", Long: `Gets the current leading Mesos-master instance using information from Zookeeper path. Pass Zookeeper nodes separated by a space as an argument to this command.`,