Fix #24964 comparaison string vs integer (#31701)

This commit is contained in:
Eike Frost 2017-10-16 10:44:12 +02:00 committed by ansibot
parent f84b5b6059
commit e648a00312

View file

@ -331,7 +331,7 @@ class Host(object):
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