rgw: fix json encode of StateStopped

Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2020-02-13 15:35:44 -05:00
parent 82af57afa2
commit 34e2ebfa76

View File

@ -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;
}