config-changed always closes and then reopens all the ports
Bug #1962584 reported by
Junien Fridrick
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-haproxy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
update_
The bug is here :
old_
for port_plus_proto in opened_ports():
# opened_ports returns e.g. ['22/tcp', '53/udp']
# but we just want the port numbers, as ints
if port_plus_
else:
raise ValueError('{} is not a valid port/proto value'.
We need to append "int(port_only)" to get ints.
To post a comment you must log in.
That looks already done in https:/ /code.launchpad .net/~morphis/ charm-haproxy/ fix-port- comparison/ +merge/ 411405 (2021-11-05)