mirror of
https://github.com/ceph/ceph
synced 2025-04-07 10:03:50 +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;
|
state = StateFullSync;
|
||||||
} else if (s == "incremental-sync") {
|
} else if (s == "incremental-sync") {
|
||||||
state = StateIncrementalSync;
|
state = StateIncrementalSync;
|
||||||
|
} else if (s == "stopped") {
|
||||||
|
state = StateStopped;
|
||||||
} else {
|
} else {
|
||||||
state = StateInit;
|
state = StateInit;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user