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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user