Skip to content

Commit

Permalink
don't fail when trying to update compute attributes of a profile
Browse files Browse the repository at this point in the history
Fixes: #997
  • Loading branch information
evgeni committed Oct 7, 2020
1 parent 4f9832e commit f092f7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/997-compute_profile-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- compute_profile - don't fail when trying to update compute attributes of a profile (https://github.com/theforeman/foreman-ansible-modules/issues/997)
1 change: 1 addition & 0 deletions plugins/modules/compute_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@


compute_attribute_foreman_spec = {
'id': {'invisible': True},
'compute_resource': {'type': 'entity'},
'vm_attrs': {'type': 'dict', 'aliases': ['vm_attributes']},
}
Expand Down

0 comments on commit f092f7f

Please sign in to comment.