mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-25 12:41:39 +00:00
Fix nodediscover rescan
Actually request that the server do rescan, rather than queueing it up and failing to transmit.
This commit is contained in:
parent
aa0255bf62
commit
301014f3b5
@ -262,7 +262,7 @@ def main():
|
||||
if args[0] == 'assign':
|
||||
assign_discovery(options, session)
|
||||
if args[0] == 'rescan':
|
||||
session.update('/discovery/rescan', {'rescan': 'start'})
|
||||
list(session.update('/discovery/rescan', {'rescan': 'start'}))
|
||||
print("Rescan initiated")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user