You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/09/04 08:41:36 UTC

[GitHub] [cloudstack] weizhouapache commented on a change in pull request #4303: Ubuntu 20.04: Fix systemvm cannot start up

weizhouapache commented on a change in pull request #4303:
URL: https://github.com/apache/cloudstack/pull/4303#discussion_r483475998



##########
File path: scripts/vm/network/security_group.py
##########
@@ -510,7 +510,7 @@ def check_default_network_rules(vm_name, vm_id, vm_ip, vm_ip6, vm_mac, vif, brna
         rules = execute("iptables-save |grep -w %s |grep -w %s |grep -w %s" % (brfw, vif, vmchain_default))
     except:
         rules = None
-    if rules is None or rules is "":
+    if rules is None or rules == "":

Review comment:
       good, thanks @wido 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org