Skip to content

Commit 53a09a1

Browse files
committed
[#25426]yugabyted: Fix xcluster status command.
Summary: Striping the string of each replication_ids received from yb-admin. Jira: DB-14658 Test Plan: ./yb_build.sh --java-test 'org.yb.yugabyted.*' Reviewers: nikhil Reviewed By: nikhil Subscribers: yugabyted-dev, sgarg-yb Differential Revision: https://phorge.dev.yugabyte.com/D40883
1 parent a2fdbce commit 53a09a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/yugabyted

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9523,7 +9523,7 @@ class YBAdminProxy(object):
95239523
return None
95249524

95259525
matches = re.findall(r'\[(.*?)\]', out)
9526-
replication_ids = matches[0].split(',')
9526+
replication_ids = [replication_id.strip() for replication_id in matches[0].split(',')]
95279527

95289528
return replication_ids
95299529

0 commit comments

Comments
 (0)