Skip to content

Commit 3900a7d

Browse files
authored
Fix import cluster method in cluster module (#244)
Signed-off-by: rsuplina <[email protected]>
1 parent 2ca891a commit 3900a7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/modules/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ def create_cluster_from_template(self, template_contents: dict):
925925
warn_fn=self.module.warn, error_fn=self.module.fail_json
926926
)
927927
TEMPLATE.merge(template_contents, explicit_params)
928-
payload.update(body=ApiClusterTemplate(**template_contents))
928+
payload.update(body=template_contents)
929929

930930
# Update to include repositories
931931
if self.add_repositories:

0 commit comments

Comments
 (0)