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.pull/4420/head
parent
8faf9837d0
commit
b740d68eaa
|
@ -288,7 +288,7 @@ class Host(object):
|
||||||
def create_host(self):
|
def create_host(self):
|
||||||
post_body = dict(
|
post_body = dict(
|
||||||
name=self.name,
|
name=self.name,
|
||||||
host_type=dict(index=self.host_type_index),
|
hostType=dict(index=self.host_type_index),
|
||||||
groupId=self.group_id,
|
groupId=self.group_id,
|
||||||
ports=self.ports
|
ports=self.ports
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue