mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-02 15:36:05 +00:00
Fix type of maxnodes
This commit is contained in:
@@ -281,6 +281,7 @@ class Command(object):
|
||||
if maxnodes is None:
|
||||
return
|
||||
nsize = self.get_noderange_size(noderange)
|
||||
maxnodes = int(maxnodes)
|
||||
if nsize > maxnodes:
|
||||
if nsize == 1:
|
||||
nodename = list(self.read(
|
||||
|
||||
Reference in New Issue
Block a user