From 1e1da6c39223f1cf9d3a899ab08e3c429977285f Mon Sep 17 00:00:00 2001 From: Roman Perekhod <2403905@gmail.com> Date: Mon, 8 May 2023 12:05:31 +0200 Subject: [PATCH] Update internal/grpc/services/storageprovider/storageprovider.go Co-authored-by: kobergj --- internal/grpc/services/storageprovider/storageprovider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/grpc/services/storageprovider/storageprovider.go b/internal/grpc/services/storageprovider/storageprovider.go index 4a785c6fadf..bd6f7c4fd46 100644 --- a/internal/grpc/services/storageprovider/storageprovider.go +++ b/internal/grpc/services/storageprovider/storageprovider.go @@ -600,7 +600,7 @@ func (s *service) DeleteStorageSpace(ctx context.Context, req *provider.DeleteSt var st *rpc.Status switch err.(type) { case errtypes.IsNotFound: - st = status.NewNotFound(ctx, "not found when deleting space") + st = status.NewNotFound(ctx, "space not found") case errtypes.PermissionDenied: st = status.NewPermissionDenied(ctx, err, "permission denied") case errtypes.BadRequest: