From c9ba058ae600d41a7e30221c4489edf42ef531ff Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Mon, 6 Jul 2020 13:26:13 -0400 Subject: [PATCH] Remove config-example.yaml --- config-example.yaml | 5 ----- config-example.yml | 5 ++--- config/config_test.go | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 config-example.yaml diff --git a/config-example.yaml b/config-example.yaml deleted file mode 100644 index a64cb45..0000000 --- a/config-example.yaml +++ /dev/null @@ -1,5 +0,0 @@ -feeds: -- https://aws.amazon.com/blogs/security/feed/ -- https://www.phoronix.com/rss.php -- https://www.zdnet.com/topic/security/rss.xml -path: .config/srv/config.yml diff --git a/config-example.yml b/config-example.yml index 4cf6910..2d90ef6 100644 --- a/config-example.yml +++ b/config-example.yml @@ -1,9 +1,8 @@ --- feeds: -- https://news.ycombinator.com/rss -- https://www.reddit.com/r/linux/.rss -- https://www.zdnet.com/topic/security/rss.xml +- https://aws.amazon.com/blogs/security/feed/ - https://www.phoronix.com/rss.php +- https://www.zdnet.com/topic/security/rss.xml # Optionally define an application to view the feeds #externalViewer: firefox diff --git a/config/config_test.go b/config/config_test.go index 4263a1a..144656d 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -8,7 +8,7 @@ import ( // TestLoadConfiguration tests loading the example config func TestLoadConfiguration(t *testing.T) { - exampleConfig, err := LoadConfiguration("../config-example.yaml") + exampleConfig, err := LoadConfiguration("../config-example.yml") assert.NoError(t, err)