Merge pull request #1268 from jonboulle/store_typo

store: fix typo "recurisive"
This commit is contained in:
Jonathan Boulle 2014-10-08 14:22:07 -07:00
commit b4a7680bc4

View File

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