Browse Source

[2244] make sure configurtor's build_plan() handles 'failed' component.

this fixes the test case introduced at the beginning of the branch.
JINMEI Tatuya 12 years ago
parent
commit
9f77979fd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/python/isc/bind10/component.py

+ 1 - 1
src/lib/python/isc/bind10/component.py

@@ -602,7 +602,7 @@ class Configurator:
         for cname in old.keys():
             if cname not in new:
                 component = self._components[cname][1]
-                if component.running():
+                if component.running() or component.is_failed():
                     plan.append({
                         'command': STOP_CMD,
                         'component': component,