Skip to content

Commit

Permalink
Fix netapp_e_host module bug when lun=0
Browse files Browse the repository at this point in the history
  • Loading branch information
swartzn committed Feb 22, 2019
1 parent ecc836c commit 12735c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/modules/storage/netapp/netapp_e_lun_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def update(self):
target = None if not self.target else self.mapping_info["target_by_name"][self.target]
if target:
body.update(dict(targetId=target))
if self.lun:
if self.lun is not None:
body.update(dict(lun=self.lun))

if lun_reference:
Expand Down

0 comments on commit 12735c9

Please sign in to comment.