fix handling of service stop message
(Boeing r1809)
This commit is contained in:
parent
fce1cf18ee
commit
5a1e8bfdca
1 changed files with 2 additions and 1 deletions
|
@ -1095,7 +1095,8 @@ class CoreRequestHandler(SocketServer.BaseRequestHandler):
|
|||
if self.session.master:
|
||||
self.warn("Unexpected event message: SHUTDOWN state received " \
|
||||
"at session master")
|
||||
elif eventtype in (coreapi.CORE_EVENT_START, coreapi.CORE_EVENT_RESTART, \
|
||||
elif eventtype in (coreapi.CORE_EVENT_START, coreapi.CORE_EVENT_STOP, \
|
||||
coreapi.CORE_EVENT_RESTART, \
|
||||
coreapi.CORE_EVENT_RECONFIGURE):
|
||||
name = msg.gettlv(coreapi.CORE_TLV_EVENT_NAME)
|
||||
# TODO: register system for event message handlers, like confobjs
|
||||
|
|
Loading…
Reference in a new issue