Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Feb 6, 2024
1 parent 31db4ad commit e78a4d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zebra-grpc/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ where
let keys = request.into_inner().keys;

if keys.is_empty() {
let msg = "must provide the keys for which to clear results";
let msg = "must provide at least 1 key for which to clear results";
return Err(Status::invalid_argument(msg));
}

Expand All @@ -102,7 +102,7 @@ where
let keys = request.into_inner().keys;

if keys.is_empty() {
let msg = "must provide the keys for which to clear results";
let msg = "must provide at least 1 key to delete";
return Err(Status::invalid_argument(msg));
}

Expand Down

0 comments on commit e78a4d7

Please sign in to comment.