mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
Fixed lint errors
This commit is contained in:
parent
2b291f811a
commit
42dbfeb4f9
1 changed files with 3 additions and 3 deletions
|
|
@ -67,9 +67,9 @@ func init() {
|
||||||
crawlCmd.Flags().StringP("password", "p", "", "Set the password for the BMC")
|
crawlCmd.Flags().StringP("password", "p", "", "Set the password for the BMC")
|
||||||
crawlCmd.Flags().BoolP("insecure", "i", false, "Ignore SSL errors")
|
crawlCmd.Flags().BoolP("insecure", "i", false, "Ignore SSL errors")
|
||||||
|
|
||||||
viper.BindPFlag("crawl.username", crawlCmd.Flags().Lookup("username"))
|
checkBindFlagError(viper.BindPFlag("crawl.username", crawlCmd.Flags().Lookup("username")))
|
||||||
viper.BindPFlag("crawl.password", crawlCmd.Flags().Lookup("password"))
|
checkBindFlagError(viper.BindPFlag("crawl.password", crawlCmd.Flags().Lookup("password")))
|
||||||
viper.BindPFlag("crawl.insecure", crawlCmd.Flags().Lookup("insecure"))
|
checkBindFlagError(viper.BindPFlag("crawl.insecure", crawlCmd.Flags().Lookup("insecure")))
|
||||||
|
|
||||||
rootCmd.AddCommand(crawlCmd)
|
rootCmd.AddCommand(crawlCmd)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue