Skip to content

Commit

Permalink
Fix cannot use &node (type **etcd.Node) error
Browse files Browse the repository at this point in the history
  • Loading branch information
kelseyhightower committed May 2, 2014
1 parent d2d468c commit 2124c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcd/etcdutil/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func nodeWalk(node *etcd.Node, vars map[string]interface{}) error {
} else {
vars[key] = node.Nodes
for _, node := range node.Nodes {
nodeWalk(&node, vars)
nodeWalk(node, vars)
}
}
}
Expand Down

0 comments on commit 2124c4b

Please sign in to comment.