2
0
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:
Jarrod Johnson 2017-10-20 13:53:13 -04:00
parent aa0255bf62
commit 301014f3b5

View File

@ -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")