commit | b7b0ddaa5160df8f62015b0aea17551ef2286790 | [log] [tgz] |
---|---|---|
author | Ondrej Smola <ondrej.smola@tcpcloud.eu> | Tue Feb 28 14:36:46 2017 +0100 |
committer | Ondrej Smola <ondrej.smola@tcpcloud.eu> | Tue Feb 28 14:36:46 2017 +0100 |
tree | b01a65fbc0eb0eb7f2c041a1adbd38c4462d7b23 | |
parent | 28e59cbbd45c336379b5054763601bab6f358f38 [diff] [blame] |
fix novanq flavor Change-Id: I90e864163a8f42f5ecfc14d3600fdb7afa27ec1b
diff --git a/_states/novang.py b/_states/novang.py index 77e0ead..46fae9c 100644 --- a/_states/novang.py +++ b/_states/novang.py
@@ -80,7 +80,7 @@ return ret existing_flavors = __salt__['nova.flavor_list'](profile) if flavor in existing_flavors: - flavor_id = existing_flavors[name]['id'] + flavor_id = existing_flavors[flavor]['id'] else: return {'name': name, 'changes': {},