mirror of
https://github.com/ceph/ceph
synced 2025-03-30 23:40:09 +00:00
rgw: fix json encode of StateStopped
Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
parent
82af57afa2
commit
34e2ebfa76
@ -1783,6 +1783,8 @@ void rgw_bucket_shard_sync_info::decode_json(JSONObj *obj)
|
||||
state = StateFullSync;
|
||||
} else if (s == "incremental-sync") {
|
||||
state = StateIncrementalSync;
|
||||
} else if (s == "stopped") {
|
||||
state = StateStopped;
|
||||
} else {
|
||||
state = StateInit;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user