pruning/history: properly communicate via rpc if snapshot does not exist

This commit is contained in:
Christian Schwarz
2018-09-04 13:29:51 -07:00
parent 8799108b55
commit 0c4a3f8dc4
5 changed files with 128 additions and 79 deletions
+6 -1
View File
@@ -108,5 +108,10 @@ message SnapshotReplicationStatusReq {
}
message SnapshotReplicationStatusRes {
bool Replicated = 1;
enum Status {
Nonexistent = 0;
NotReplicated = 1;
Replicated = 2;
}
Status status = 1;
}