mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
rbd: produce state string instead of integer
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
This commit is contained in:
parent
e9cf88710e
commit
746385952c
@ -461,7 +461,7 @@ int execute_group_snap_list(const po::variables_map &vm) {
|
|||||||
}
|
}
|
||||||
if (f) {
|
if (f) {
|
||||||
f->dump_string("snap name", snap_name);
|
f->dump_string("snap name", snap_name);
|
||||||
f->dump_int("state", state);
|
f->dump_string("state", state_string);
|
||||||
} else {
|
} else {
|
||||||
t << snap_name << state_string << TextTable::endrow;
|
t << snap_name << state_string << TextTable::endrow;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user