fix(influx): drop persistent pre run func taht double prints help cmd

pull/16509/head
Johnny Steenbergen 2020-01-10 17:01:42 -08:00 committed by Johnny Steenbergen
parent 9338a0be97
commit 3f56658418
1 changed files with 0 additions and 6 deletions

View File

@ -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()