Commit fe9a13f7 by Christian Brauner Committed by GitHub

Merge pull request #1661 from 0x0916/2017-07-01/fix-set-state-error

start: send state to legacy lxc-monitord state server even if no state clients registered
parents 066e9fe8 65ee1673
...@@ -359,6 +359,7 @@ int lxc_set_state(const char *name, struct lxc_handler *handler, ...@@ -359,6 +359,7 @@ int lxc_set_state(const char *name, struct lxc_handler *handler,
if (lxc_list_empty(&handler->state_clients)) { if (lxc_list_empty(&handler->state_clients)) {
TRACE("no state clients registered"); TRACE("no state clients registered");
process_unlock(); process_unlock();
lxc_monitor_send_state(name, state, handler->lxcpath);
return 0; return 0;
} }
......
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