aboutsummaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/yaml.go3
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
56c61b7317246040aee50d2a7a81d&follow=1'>WIP: Message-IdsRené 'Necoro' Neumann8-5/+40 2020-05-02Typo and mention config example in READMERené 'Necoro' Neumann2-1/+3