Skip to content

Commit

Permalink
Update internal/grpc/services/storageprovider/storageprovider.go
Browse files Browse the repository at this point in the history
Co-authored-by: kobergj <[email protected]>
  • Loading branch information
2403905 and kobergj authored May 8, 2023
1 parent a46eea1 commit 1e1da6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/grpc/services/storageprovider/storageprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1e1da6c

Please sign in to comment.