diff --git a/cmd/influx/main.go b/cmd/influx/main.go index 4ba3edde357..4052228d00f 100644 --- a/cmd/influx/main.go +++ b/cmd/influx/main.go @@ -87,12 +87,6 @@ func influxCmd() *cobra.Command { Use: "influx", Short: "Influx Client", SilenceUsage: true, - PersistentPreRun: func(cmd *cobra.Command, args []string) { - if err := checkSetup(flags.host); err != nil { - fmt.Printf("Note: %v\n", internal.ErrorFmt(err)) - } - seeHelp(cmd, args) - }, } setViperOptions()