hugolib: Simplify range

This commit is contained in:
Bjørn Erik Pedersen 2016-11-05 17:05:18 +01:00
parent 8dace9ad6d
commit 72156e403c

View file

@ -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