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:
shanumondal 2018-04-23 21:01:52 +05:30 committed by ansibot
parent 8faf9837d0
commit b740d68eaa

View file

@ -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
)