From 72156e403c3e83b0091c764111ce6a75bd40c08e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 5 Nov 2016 17:05:18 +0100 Subject: [PATCH] hugolib: Simplify range --- hugolib/site.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugolib/site.go b/hugolib/site.go index 6aa274a43..6940d74bf 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -2265,7 +2265,7 @@ func (s *Site) getOrAddNode(nodeID string, add bool) *Node { if !add { // this is a test type error, print the keys - for k, _ := range s.nodeCache.m { + for k := range s.nodeCache.m { fmt.Println("Node:", k) } return nil