]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/notification: Fix the filter_rules to be array vs dict in json output. 55796/head
authorkchheda3 <kchheda3@bloomberg.net>
Tue, 27 Feb 2024 20:59:15 +0000 (15:59 -0500)
committerkchheda3 <kchheda3@bloomberg.net>
Thu, 14 Mar 2024 19:46:17 +0000 (15:46 -0400)
commit0c37788f18cd51a712a2481f8f58a7ee00d359ae
treead4ce6f027402a7840534a4fddab36e67080a91a
parent395ff95fbe8822106c265d07eb289e8082fd3108
rgw/notification: Fix the filter_rules to be array vs dict in json output.

FilterRules when processed as dict in json, emits samy key name for prefix, suffix causing failure while parsing the json notification output.
So change the type FilterRules from JsonDict to Array while dumping in json.

Signed-off-by: kchheda3 <kchheda3@bloomberg.net>
src/rgw/rgw_pubsub.cc