Skip to content

Commit 37d1704

Browse files
committed
fix linter
1 parent 2b69003 commit 37d1704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/vm/hypervisor/xenserver/xenserver84/cloudstack_pluginlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def create_tunnel(bridge, remote_ip, gre_key, src_host, dst_host, network_uuid):
409409
key_validation = do_cmd(verify_interface_key)
410410
ip_validation = do_cmd(verify_interface_ip)
411411

412-
if not gre_key in key_validation or not remote_ip in ip_validation:
412+
if gre_key not in key_validation or remote_ip not in ip_validation:
413413
logging.debug("WARNING: Unexpected output while verifying " +
414414
"interface %s on bridge %s" % (name, bridge))
415415
return "FAILURE:VERIFY_INTERFACE_FAILED"

0 commit comments

Comments
 (0)