diff --git a/config/config.go b/config/config.go index 98a6b37..9685100 100644 --- a/config/config.go +++ b/config/config.go @@ -269,7 +269,7 @@ func newConfig() (*viper.Viper, error) { err := viper.ReadInConfig() if err != nil { - if !errors.Is(err, &viper.ConfigFileNotFoundError{}) { + if !errors.As(err, &viper.ConfigFileNotFoundError{}) { return nil, err }