Browse Source

fix data center setting error

pull/610/merge
Chris Lu 7 years ago
parent
commit
67763fb375
  1. 2
      weed/server/filer_grpc_server.go

2
weed/server/filer_grpc_server.go

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

Loading…
Cancel
Save