From bea17edd6c6ce6cba44ac28d343d13c782735cf5 Mon Sep 17 00:00:00 2001 From: Dave Grenier Date: Mon, 27 Sep 2021 17:24:23 -0400 Subject: [PATCH] cs_instance: fixed attribute error Fixes custom service offerings usage --- plugins/modules/cs_instance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/cs_instance.py b/plugins/modules/cs_instance.py index f8f4024..9dbafea 100644 --- a/plugins/modules/cs_instance.py +++ b/plugins/modules/cs_instance.py @@ -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,