mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
refactor(server): suppported
-> supported
(#3677)
Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
This commit is contained in:
parent
bd2dc6d641
commit
d5239ab983
|
@ -42,7 +42,7 @@ func (vs *VolumeServer) VolumeTierMoveDatFromRemote(req *volume_server_pb.Volume
|
||||||
for key := range backend.BackendStorages {
|
for key := range backend.BackendStorages {
|
||||||
keys = append(keys, key)
|
keys = append(keys, key)
|
||||||
}
|
}
|
||||||
return fmt.Errorf("remote storage %s not found from suppported: %v", storageName, keys)
|
return fmt.Errorf("remote storage %s not found from supported: %v", storageName, keys)
|
||||||
}
|
}
|
||||||
|
|
||||||
startTime := time.Now()
|
startTime := time.Now()
|
||||||
|
|
|
@ -37,7 +37,7 @@ func (vs *VolumeServer) VolumeTierMoveDatToRemote(req *volume_server_pb.VolumeTi
|
||||||
for key := range backend.BackendStorages {
|
for key := range backend.BackendStorages {
|
||||||
keys = append(keys, key)
|
keys = append(keys, key)
|
||||||
}
|
}
|
||||||
return fmt.Errorf("destination %s not found, suppported: %v", req.DestinationBackendName, keys)
|
return fmt.Errorf("destination %s not found, supported: %v", req.DestinationBackendName, keys)
|
||||||
}
|
}
|
||||||
|
|
||||||
// check whether the existing backend storage is the same as requested
|
// check whether the existing backend storage is the same as requested
|
||||||
|
|
Loading…
Reference in a new issue