better error message

This commit is contained in:
Chris Lu 2017-08-10 10:26:19 -07:00
parent 1129956f7f
commit 3a8746ca54

View file

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