From be7920d0d02585baf08059203283c50ba0384d2e Mon Sep 17 00:00:00 2001 From: Tyler Date: Thu, 17 Dec 2020 19:09:04 -0500 Subject: [PATCH] Set type to yaml --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 4497cc5..1e8509b 100644 --- a/main.go +++ b/main.go @@ -26,6 +26,7 @@ func setupConfiguration() { viper.AutomaticEnv() viper.SetConfigName("ottomate") + viper.SetConfigType("yaml") viper.AddConfigPath("/etc/ottomate/") viper.AddConfigPath("$HOME/.ottomate") viper.AddConfigPath(".")