Skip to content

Commit

Permalink
[#25426]yugabyted: Fix xcluster status command.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gargsans-yb committed Jan 2, 2025
1 parent a2fdbce commit 53a09a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/yugabyted
Original file line number Diff line number Diff line change
Expand Up @@ -9523,7 +9523,7 @@ class YBAdminProxy(object):
return None

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

return replication_ids

Expand Down

0 comments on commit 53a09a1

Please sign in to comment.