Skip to content

Commit

Permalink
Remove redundant viper call
Browse files Browse the repository at this point in the history
Another thing I happened to notice while scanning through some files.
  • Loading branch information
jhiemstrawisc committed Sep 28, 2023
1 parent 3ff7858 commit e22041e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ func InitServer() error {
}
viper.SetDefault("Hostname", hostname)
viper.SetDefault("Sitename", hostname)
viper.SetDefault("Hostname", hostname)

err = viper.MergeConfig(strings.NewReader(defaultsYaml))
if err != nil {
Expand Down

0 comments on commit e22041e

Please sign in to comment.