Fixed bug to set hostTypeIndex correctly at the time of netapp_e_host create. (#39148)
Issue link: https://github.com/ansible/ansible/issues/39143 Correct post_body made by replacing host_type with hostType while creating host.
This commit is contained in:
parent
8faf9837d0
commit
b740d68eaa
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ class Host(object):
|
|||
def create_host(self):
|
||||
post_body = dict(
|
||||
name=self.name,
|
||||
host_type=dict(index=self.host_type_index),
|
||||
hostType=dict(index=self.host_type_index),
|
||||
groupId=self.group_id,
|
||||
ports=self.ports
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue