mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
add assertion to check that the node-type has been started before starting the node
This commit is contained in:
parent
8cd1b93225
commit
92e4b61e2e
1 changed files with 1 additions and 0 deletions
|
@ -322,6 +322,7 @@ int node_start(struct node *n)
|
|||
int ret;
|
||||
|
||||
assert(n->state == STATE_CHECKED);
|
||||
assert(n->_vt->state == STATE_STARTED);
|
||||
|
||||
info("Starting node %s", node_name_long(n));
|
||||
{ INDENT
|
||||
|
|
Loading…
Add table
Reference in a new issue