commit | 0ad5d01391b5e905c8f6408ce877d793d0106afe | [log] [tgz] |
---|---|---|
author | Vladyslav Drok <vdrok@mirantis.com> | Fri Oct 05 17:51:34 2018 +0300 |
committer | Vladyslav Drok <vdrok@mirantis.com> | Fri Oct 05 17:52:56 2018 +0300 |
tree | 2c758cbf5e71cda38e7bfec1e248e0a400c16f01 | |
parent | 3a075c45f9c022b6103550a8d31e8d430446450c [diff] |
Reraise exception if node_get_details fails Current exception handling takes into account only NotFound exception, ignoring others. Change-Id: I670004a4b445d1fc9ed76bcb2e1b09ff6cb2a369
diff --git a/_states/ironicv1.py b/_states/ironicv1.py index 183dc9b..b6cd7df 100644 --- a/_states/ironicv1.py +++ b/_states/ironicv1.py
@@ -34,6 +34,7 @@ format('node', e)) return _failed('create', name, resource) return _succeeded('create', name, resource, resp) + raise to_change = [] for prop in kwargs: