2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-21 16:39:32 +00:00

Correct type of maxnodes in some scenarios

This commit is contained in:
Jarrod Johnson
2026-08-21 14:57:24 -04:00
parent f5d7c271b5
commit f1961400ec
+1
View File
@@ -280,6 +280,7 @@ class Command(object):
def stop_if_noderange_over(self, noderange, maxnodes):
if maxnodes is None:
return
maxnodes = int(maxnodes)
nsize = self.get_noderange_size(noderange)
if nsize > maxnodes:
if nsize == 1: