Skip to content

Commit 9fbb530

Browse files
authored
Merge pull request ceph#53614 from xrmeng8756/master
rgw: fix rgw rate limiting RGWRateLimitInfo class decode_json max_rea… Reviewed-by: Jiffin Tony Thottan <[email protected]>
2 parents 84dcf80 + f021b96 commit 9fbb530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rgw/rgw_common.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2742,8 +2742,8 @@ void RGWRateLimitInfo::decode_json(JSONObj *obj)
27422742
{
27432743
JSONDecoder::decode_json("max_read_ops", max_read_ops, obj);
27442744
JSONDecoder::decode_json("max_write_ops", max_write_ops, obj);
2745-
JSONDecoder::decode_json("max_read_bytes", max_read_ops, obj);
2746-
JSONDecoder::decode_json("max_write_bytes", max_write_ops, obj);
2745+
JSONDecoder::decode_json("max_read_bytes", max_read_bytes, obj);
2746+
JSONDecoder::decode_json("max_write_bytes", max_write_bytes, obj);
27472747
JSONDecoder::decode_json("enabled", enabled, obj);
27482748
}
27492749

0 commit comments

Comments
 (0)