Skip to content

Commit

Permalink
Fix import cluster method in cluster module (#244)
Browse files Browse the repository at this point in the history
Signed-off-by: rsuplina <rsuplina@cloudera.com>
  • Loading branch information
rsuplina authored Jul 29, 2024
1 parent 2ca891a commit 3900a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ def create_cluster_from_template(self, template_contents: dict):
warn_fn=self.module.warn, error_fn=self.module.fail_json
)
TEMPLATE.merge(template_contents, explicit_params)
payload.update(body=ApiClusterTemplate(**template_contents))
payload.update(body=template_contents)

# Update to include repositories
if self.add_repositories:
Expand Down

0 comments on commit 3900a7d

Please sign in to comment.