diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-03-29 13:13:33 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-03-29 13:13:33 +0300 |
commit | ca865f806f0040272533167f9152861e7422faf9 (patch) | |
tree | b928da0868a8d55010b49794fc7e47671b4ab581 | |
parent | 981dda39aa96bbc898b2b7bf04405f515141f664 (diff) | |
download | vmdb2-ca865f806f0040272533167f9152861e7422faf9.tar.gz |
Check early that we have runners for all steps
-rw-r--r-- | vmdb/app.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vmdb/app.py b/vmdb/app.py index 534cfff..0633825 100644 --- a/vmdb/app.py +++ b/vmdb/app.py @@ -42,6 +42,10 @@ class Vmdb2(cliapp.Application): spec = self.load_spec_file(args[0]) steps = spec['steps'] + # Check that we have step runners for each step + for step in steps: + self.step_runners.find(step) + state = vmdb.State() steps_taken, core_meltdown = self.run_steps(steps, state) self.run_teardowns(steps_taken, state) |