Skip to content

Commit

Permalink
cs_instance: fixed attribute error
Browse files Browse the repository at this point in the history
Fixes custom service offerings usage
  • Loading branch information
livegrenier authored Sep 27, 2021
1 parent 8b146d9 commit bea17ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/cs_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,9 @@ def get_details(self):
memory = self.module.params.get('memory')
if all([cpu, cpu_speed, memory]):
if details is None:
details = dict()
details = {}

details.extends({
details.update({
'cpuNumber': cpu,
'cpuSpeed': cpu_speed,
'memory': memory,
Expand Down

0 comments on commit bea17ed

Please sign in to comment.