Skip to content

Commit

Permalink
Fix ansible#24964 comparaison string vs integer (ansible#31701)
Browse files Browse the repository at this point in the history
  • Loading branch information
eikef authored and ansibot committed Oct 16, 2017
1 parent f84b5b6 commit e648a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/modules/monitoring/zabbix_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def update_host(self, host_name, group_ids, status, host_id, interfaces, exist_i
flag = False
interface_str = interface
for exist_interface in exist_interface_list:
interface_type = interface['type']
interface_type = int(interface['type'])
exist_interface_type = int(exist_interface['type'])
if interface_type == exist_interface_type:
# update
Expand Down

0 comments on commit e648a00

Please sign in to comment.