Browse Source
refactor(server): `suppported` -> `supported` (#3677)
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
pull/3680/head
Ryan Russell
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
weed/server/volume_grpc_tier_download.go
-
weed/server/volume_grpc_tier_upload.go
|
|
@ -42,7 +42,7 @@ func (vs *VolumeServer) VolumeTierMoveDatFromRemote(req *volume_server_pb.Volume |
|
|
|
for key := range backend.BackendStorages { |
|
|
|
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() |
|
|
|
|
|
@ -37,7 +37,7 @@ func (vs *VolumeServer) VolumeTierMoveDatToRemote(req *volume_server_pb.VolumeTi |
|
|
|
for key := range backend.BackendStorages { |
|
|
|
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
|
|
|
|