diff --git a/bin/yugabyted b/bin/yugabyted index 6b74b5bb19a1..a60ee32491ee 100755 --- a/bin/yugabyted +++ b/bin/yugabyted @@ -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