From d5239ab9832464b47e983861d4ae19baab943956 Mon Sep 17 00:00:00 2001 From: Ryan Russell Date: Wed, 14 Sep 2022 14:16:39 -0500 Subject: [PATCH] refactor(server): `suppported` -> `supported` (#3677) Signed-off-by: Ryan Russell Signed-off-by: Ryan Russell --- weed/server/volume_grpc_tier_download.go | 2 +- weed/server/volume_grpc_tier_upload.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/server/volume_grpc_tier_download.go b/weed/server/volume_grpc_tier_download.go index c93e61f50..a4a3b59ca 100644 --- a/weed/server/volume_grpc_tier_download.go +++ b/weed/server/volume_grpc_tier_download.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() diff --git a/weed/server/volume_grpc_tier_upload.go b/weed/server/volume_grpc_tier_upload.go index 8e0b48094..9561a9358 100644 --- a/weed/server/volume_grpc_tier_upload.go +++ b/weed/server/volume_grpc_tier_upload.go @@ -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