Ines Almeida has proposed merging 
~ines-almeida/txpkgupload:fix-txpkgupload-charm into txpkgupload:master.

Commit message:
Minor fix to txpkgupload charm logic

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~ines-almeida/txpkgupload/+git/txpkgupload/+merge/453672
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of 
~ines-almeida/txpkgupload:fix-txpkgupload-charm into txpkgupload:master.
diff --git a/charm/txpkgupload/reactive/txpkgupload.py b/charm/txpkgupload/reactive/txpkgupload.py
index 8c76b7e..ac91c83 100644
--- a/charm/txpkgupload/reactive/txpkgupload.py
+++ b/charm/txpkgupload/reactive/txpkgupload.py
@@ -197,7 +197,7 @@ def configure_loadbalancer():
     hookenv.log("Configuring loadbalancer for txpkgupload")
     config = hookenv.config()
 
-    if config.get("haproxy_ipv4_address"):
+    if not config.get("haproxy_ipv4_address"):
         hookenv.log(
             "Waiting for 'haproxy_ipv4_address' value to be configured"
         )
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to