rbd: produce state string instead of integer

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
This commit is contained in:
Victor Denisov 2018-01-02 19:14:01 -08:00 committed by Jason Dillaman
parent e9cf88710e
commit 746385952c

View File

@ -461,7 +461,7 @@ int execute_group_snap_list(const po::variables_map &vm) {
}
if (f) {
f->dump_string("snap name", snap_name);
f->dump_int("state", state);
f->dump_string("state", state_string);
} else {
t << snap_name << state_string << TextTable::endrow;
}