From c613e18c7a8e30a7f7924ea31f419e6b96f6c70e Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Thu, 5 Jul 2018 22:53:29 +0200 Subject: [PATCH] Fix syntax error --- cmd/eksterd/fetch.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/eksterd/fetch.go b/cmd/eksterd/fetch.go index 8b46105..070e29e 100644 --- a/cmd/eksterd/fetch.go +++ b/cmd/eksterd/fetch.go @@ -329,8 +329,8 @@ func (b *memoryBackend) feedItems(fetchURL, contentType string, body io.Reader) } } - for _, v := range items { - log.Printf("Id=%s Name=%s\n", item.Id, item.Name) + for _, item := range items { + log.Printf("ID=%s Name=%s\n", item.ID, item.Name) log.Printf("Author=%#v\n", item.Author) log.Printf("Text=%s\n", item.Content.Text) log.Printf("HTML=%s\n", item.Content.HTML)