Skip to content

Commit 9c6e4f6

Browse files
authored
Merge pull request ceph#62706 from cbodley/wip-70729
test/rgw/multisite: fix parsing of 'topic list' output Reviewed-by: Ali Masarwa <[email protected]>
2 parents b60d533 + cb908ad commit 9c6e4f6

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)