diff options
Diffstat (limited to 'internal/config/yaml.go')
-rw-r--r-- | internal/config/yaml.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/config/yaml.go b/internal/config/yaml.go index aa58685..f292f90 100644 --- a/internal/config/yaml.go +++ b/internal/config/yaml.go @@ -2,6 +2,7 @@ package config import ( "fmt" + "gopkg.in/yaml.v3" ) @@ -72,7 +73,7 @@ func buildFeeds(cfg []configGroupFeed, target string, feeds Feeds) error { case f.isFeed(): name := f.Feed.Name - if _, ok := feeds[name]; !ok { + if _, ok := feeds[name]; ok { return fmt.Errorf("Duplicate Feed Name '%s'", name) } f.Feed.Target = target |