Merge ~ines-almeida/txpkgupload:fix-txpkgupload-charm into txpkgupload:master

Proposed by Ines Almeida
Status: Merged
Approved by: Ines Almeida
Approved revision: c036eba1f31de5cefe94bb664ff039f66e952ca8
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~ines-almeida/txpkgupload:fix-txpkgupload-charm
Merge into: txpkgupload:master
Diff against target: 13 lines (+1/-1)
1 file modified
charm/txpkgupload/reactive/txpkgupload.py (+1/-1)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+453672@code.launchpad.net

Commit message

Minor fix to txpkgupload charm logic

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/charm/txpkgupload/reactive/txpkgupload.py b/charm/txpkgupload/reactive/txpkgupload.py
2index 8c76b7e..ac91c83 100644
3--- a/charm/txpkgupload/reactive/txpkgupload.py
4+++ b/charm/txpkgupload/reactive/txpkgupload.py
5@@ -197,7 +197,7 @@ def configure_loadbalancer():
6 hookenv.log("Configuring loadbalancer for txpkgupload")
7 config = hookenv.config()
8
9- if config.get("haproxy_ipv4_address"):
10+ if not config.get("haproxy_ipv4_address"):
11 hookenv.log(
12 "Waiting for 'haproxy_ipv4_address' value to be configured"
13 )

Subscribers

People subscribed via source and target branches

to all changes: