Skip to content

Commit

Permalink
fix: remove env var parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mavi0 authored Jul 25, 2024
1 parent d19e70f commit 02af8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dlinkscraper/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func init() {
rootCmd.PersistentFlags().StringP("influx_bucket", "b", "bucket", "bucket on influxdb server to utilise")
viper.BindPFlag("influx_bucket", rootCmd.PersistentFlags().Lookup("influx_bucket"))

viper.AutomaticEnv()
// viper.AutomaticEnv()
viper.SetConfigName("config")
viper.SetConfigType("json")
viper.AddConfigPath(".")
Expand Down

0 comments on commit 02af8cf

Please sign in to comment.