Browse Source

better error message

pull/552/head
Chris Lu 7 years ago
parent
commit
3a8746ca54
  1. 2
      weed/topology/node.go

2
weed/topology/node.go

@ -168,7 +168,7 @@ func (n *NodeImpl) ReserveOneVolume(r int) (assignedNode *DataNode, err error) {
} }
} }
} }
return
return nil, errors.New("No free volume slot found!")
} }
func (n *NodeImpl) UpAdjustMaxVolumeCountDelta(maxVolumeCountDelta int) { //can be negative func (n *NodeImpl) UpAdjustMaxVolumeCountDelta(maxVolumeCountDelta int) { //can be negative

Loading…
Cancel
Save