Commit 1a79791d authored by Jose A. Lopes's avatar Jose A. Lopes
Browse files

Update Python reference to 'DAEMONS_LOGBASE'



Update Python reference of 'DAEMONS_LOGBASE' to fetch its value from
the generated 'lib/_constants.py' module.
Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent 856eb53c
......@@ -174,14 +174,7 @@ DEFAULT_RAPI_PORT = _constants.DEFAULT_RAPI_PORT
FIRST_DRBD_PORT = 11000
LAST_DRBD_PORT = 14999
DAEMONS_LOGBASE = {
NODED: "node-daemon",
CONFD: "conf-daemon",
LUXID: "luxi-daemon",
RAPI: "rapi-daemon",
MASTERD: "master-daemon",
MOND: "monitoring-daemon",
}
DAEMONS_LOGBASE = _constants.DAEMONS_LOGBASE
DAEMONS_LOGFILES = \
dict((daemon, pathutils.GetLogFilename(DAEMONS_LOGBASE[daemon]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment