fix data center setting error

This commit is contained in:
Chris Lu 2018-07-14 14:09:45 -07:00
parent 6d58916cfd
commit 67763fb375

View file

@ -176,7 +176,7 @@ func (fs *FilerServer) AssignVolume(ctx context.Context, req *filer_pb.AssignVol
var altRequest *operation.VolumeAssignRequest var altRequest *operation.VolumeAssignRequest
dataCenter := req.DataCenter dataCenter := req.DataCenter
if dataCenter!=""{ if dataCenter == "" {
dataCenter = fs.option.DataCenter dataCenter = fs.option.DataCenter
} }