aboutsummaryrefslogtreecommitdiff
path: root/internal/config/yaml.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
-1/+1 2010-05-25Do not bail out, if we try to replace stuff in a category w/o a dashRené 'Necoro' Neumann1-1/+7 2010-05-25Do not bail out, if we try to replace stuff in a category w/o a dashRené 'Necoro' Neumann1-1/+7 2010-05-22Update gtk-version in glade filesRené 'Necoro' Neumann8-8/+8 2010-05-22Fix the link buttonsRené 'Necoro' Neumann1-1/+1 2010-05-20Handle missing eix-cache file more gracefullyRené 'Necoro' Neumann1-0/+7 2010-05-20More declarative handling of the database typesRené 'Necoro' Neumann3-46/+59 2010-05-12Updated French translation to current code statusClement Bourgeois1-52/+56 2010-05-12Unused French translations purgedClement Bourgeois1-18/+0 2010-05-11Fix release script pathesv0.14René 'Necoro' Neumann1-1/+2 2010-05-11Add '--plugin-dir' optionRené 'Necoro' Neumann1-1/+9 2010-05-11Add a README message to the releaseRené 'Necoro' Neumann1-1/+14