diff options
author | Jim Rollenhagen <jim@jimrollenhagen.com> | 2015-04-10 06:22:28 -0700 |
---|---|---|
committer | Jim Rollenhagen <jim@jimrollenhagen.com> | 2015-04-15 15:08:20 -0700 |
commit | 904bbcde88d9db0cd60719e771ea168cb52948e1 (patch) | |
tree | 88e09c0c6820586bda470843ac2240a6a42db1d0 /driver-requirements.txt | |
parent | 1a227d71ed8b5dd5920b05b703b2c296515358f1 (diff) | |
download | ironic-904bbcde88d9db0cd60719e771ea168cb52948e1.tar.gz |
Fix heartbeat when clean step in progress
The agent returns command_result of None when a command is in progress.
The code assumed it would return an empty dict. Fix the access of
command_result to never return None, and fix the tests to reflect
reality.
Closes-Bug: #1444715
Change-Id: Iae6cd90517cb7b268ce2c089c92f64b09a606a42
(cherry picked from commit 2e2fb8c4997b1cac7dc18e67e43a0d8ba65a79d5)
Diffstat (limited to 'driver-requirements.txt')
0 files changed, 0 insertions, 0 deletions