Skip to content

Commit bea17ed

Browse files
authored
cs_instance: fixed attribute error
Fixes custom service offerings usage
1 parent 8b146d9 commit bea17ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/modules/cs_instance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,9 +696,9 @@ def get_details(self):
696696
memory = self.module.params.get('memory')
697697
if all([cpu, cpu_speed, memory]):
698698
if details is None:
699-
details = dict()
699+
details = {}
700700

701-
details.extends({
701+
details.update({
702702
'cpuNumber': cpu,
703703
'cpuSpeed': cpu_speed,
704704
'memory': memory,

0 commit comments

Comments
 (0)