mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix data center setting error
This commit is contained in:
parent
6d58916cfd
commit
67763fb375
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue