Browse Source

fix reserve volume on node

pull/615/head
tengattack 7 years ago
parent
commit
371ad2e397
  1. 2
      weed/topology/node.go

2
weed/topology/node.go

@ -163,7 +163,7 @@ func (n *NodeImpl) ReserveOneVolume(r int) (assignedNode *DataNode, err error) {
return node.(*DataNode), nil
}
assignedNode, err = node.ReserveOneVolume(r)
if err != nil {
if err == nil {
return
}
}

Loading…
Cancel
Save