Skip to content

Commit cb908ad

Browse files
committed
test/rgw/multisite: fix parsing of 'topic list' output
adjust the parsing to match changes from 3f0428a Fixes: https://tracker.ceph.com/issues/70729 Signed-off-by: Casey Bodley <[email protected]>
1 parent 9aacbd1 commit cb908ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/rgw/rgw_multi/tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,7 @@ def get_topics(zone):
548548
"""
549549
cmd = ['topic', 'list'] + zone.zone_args()
550550
topics_json, _ = zone.cluster.admin(cmd, read_only=True)
551-
topics = json.loads(topics_json)
552-
return topics['topics']
551+
return json.loads(topics_json)
553552

554553

555554
def create_topic_per_zone(zonegroup_conns, topics_per_zone=1):

0 commit comments

Comments
 (0)