From 4807162a0a500dafc9cb8b0b066a086e4826b742 Mon Sep 17 00:00:00 2001 From: Marcel Otte Date: Wed, 27 Oct 2021 23:18:54 +0200 Subject: [PATCH] Fix last linting errors --- config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index 0330473..6a362c8 100644 --- a/config/config.go +++ b/config/config.go @@ -48,9 +48,9 @@ func Load() *Configuration { vconfig := CreateViper() if err := vconfig.ReadInConfig(); err != nil { if _, ok := err.(viper.ConfigFileNotFoundError); ok { - panic(fmt.Errorf("Fatal: No config file could be found!")) + panic(fmt.Errorf("Fatal: No config file could be found")) } - panic(fmt.Errorf("Fatal error config file: %w \n", err)) + panic(fmt.Errorf("Fatal error config file: %w ", err)) } var cfg *Configuration