Fix failure manager warning
ironically the warning message was causing a more serious failure.
This commit is contained in:
parent
e3c975f23e
commit
94c9f3b428
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ var _failmgr = {
|
||||||
|
|
||||||
add_failure_mode: func(mode) {
|
add_failure_mode: func(mode) {
|
||||||
contains(me.failure_modes, mode.id) and
|
contains(me.failure_modes, mode.id) and
|
||||||
die("add_failure_mode: failure mode already exists: " ~ id);
|
die("add_failure_mode: failure mode already exists: " ~ mode.id);
|
||||||
|
|
||||||
me.failure_modes[mode.id] = { mode: mode, trigger: nil };
|
me.failure_modes[mode.id] = { mode: mode, trigger: nil };
|
||||||
mode.bind(proproot);
|
mode.bind(proproot);
|
||||||
|
|
Loading…
Reference in a new issue