From a07c51a9c9d1225094a7289f4e895d466a2ac581 Mon Sep 17 00:00:00 2001 From: Jonathan Boulle Date: Wed, 8 Oct 2014 14:13:38 -0700 Subject: [PATCH] store: fix typo "recurisive" --- store/node.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/store/node.go b/store/node.go index 3e67fe858..692638be7 100644 --- a/store/node.go +++ b/store/node.go @@ -251,7 +251,7 @@ func (n *node) Remove(dir, recursive bool, callback func(path string)) *etcdErr. return nil } -func (n *node) Repr(recurisive, sorted bool) *NodeExtern { +func (n *node) Repr(recursive, sorted bool) *NodeExtern { if n.IsDir() { node := &NodeExtern{ Key: n.Path, @@ -261,7 +261,7 @@ func (n *node) Repr(recurisive, sorted bool) *NodeExtern { } node.Expiration, node.TTL = n.ExpirationAndTTL() - if !recurisive { + if !recursive { return node } @@ -278,7 +278,7 @@ func (n *node) Repr(recurisive, sorted bool) *NodeExtern { continue } - node.Nodes[i] = child.Repr(recurisive, sorted) + node.Nodes[i] = child.Repr(recursive, sorted) i++ }