From 5276618b737aecd0202aa7bc2e70d5daaaa9feb6 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 13 Sep 2021 14:09:07 -0400 Subject: [PATCH] Actually remove group on split --- confluent_client/bin/nodegroupremove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/nodegroupremove b/confluent_client/bin/nodegroupremove index c0861825..a64c7d60 100755 --- a/confluent_client/bin/nodegroupremove +++ b/confluent_client/bin/nodegroupremove @@ -44,7 +44,7 @@ client.check_globbing(noderange) session = client.Command() exitcode = 0 for group in noderange.split(','): - for r in session.delete('/nodegroups/{0}'.format(noderange)): + for r in session.delete('/nodegroups/{0}'.format(group)): if 'error' in r: sys.stderr.write(r['error'] + '\n') exitcode |= 1