Revision 2d54e29c daemons/ganeti-confd
b/daemons/ganeti-confd | ||
---|---|---|
325 | 325 |
self._ResetTimer() |
326 | 326 |
|
327 | 327 |
|
328 |
def CheckConfd(options, args):
|
|
328 |
def CheckConfd(_, args):
|
|
329 | 329 |
"""Initial checks whether to run exit with a failure. |
330 | 330 |
|
331 | 331 |
""" |
... | ... | |
340 | 340 |
sys.exit(constants.EXIT_FAILURE) |
341 | 341 |
|
342 | 342 |
|
343 |
def ExecConfd(options, args):
|
|
343 |
def ExecConfd(options, _):
|
|
344 | 344 |
"""Main confd function, executed with PID file held |
345 | 345 |
|
346 | 346 |
""" |
... | ... | |
354 | 354 |
# If enabling the processor has failed, we can still go on, but confd will |
355 | 355 |
# be disabled |
356 | 356 |
logging.warning("Confd is starting in disabled mode") |
357 |
pass |
|
357 |
|
|
358 | 358 |
server = ConfdAsyncUDPServer(options.bind_address, options.port, processor) |
359 | 359 |
|
360 | 360 |
# Configuration reloader |
Also available in: Unified diff