~davigar15/interface-prometheus:bug/ingressaddr-not-set

Last commit made on 2019-10-17
Get this branch:
git clone -b bug/ingressaddr-not-set https://git.launchpad.net/~davigar15/interface-prometheus
Only David can upload to this branch. If you are David please log in for upload directions.

Branch merges

Branch information

Name:
bug/ingressaddr-not-set
Repository:
lp:~davigar15/interface-prometheus

Recent commits

9bb2e95... by David

Add optional hostname parameter.

60f4a93... by David

Check targets instead of the port

0c3b871... by Cory Johns

Fix TypeError when hostname not on relation

Passing `unit` to `ingress_address` causes an exception to be raised:
`TypeError: expected str, bytes or os.PathLike object, not RelatedUnit`

This also switches from decorated handlers to `manage_flags` to avoid
race conditions.

Reviewed-on: https://code.launchpad.net/~johnsca/interface-prometheus/+git/interface-prometheus/+merge/372290
Reviewed-by: Kevin W Monroe <email address hidden>
Reviewed-by: Stuart Bishop <email address hidden>

db4555d... by Cory Johns

Fix TypeError when hostname not on relation

Passing `unit` to `ingress_address` causes an exception to be raised:
`TypeError: expected str, bytes or os.PathLike object, not RelatedUnit`

This also switches from decorated handlers to `manage_flags` to avoid
race conditions.

defa8b8... by Tilman Baumann

Switch from RelationBase class to Endpoint

Reviewed-on: https://code.launchpad.net/~tilmanbaumann/interface-prometheus/+git/interface-prometheus/+merge/367744
Reviewed-by: Stuart Bishop <email address hidden>

45a4be2... by Tilman Baumann

Implemented review suggestions

Better comments
Use ingress_address
Set compat flags

4c047e5... by Tilman Baumann

Switch from RelationBase class to Endpoint

This fixes several fundamental issues with 'old' reactive charms.
This implementation is intended to be compatible with existing charms.

c51e3b6... by Domas Monkus

Merge pull request #2 from tasdomas/d01-allow-specifying-labels

Pep8 fix and allow setting relation labels.

cfd8ca4... by Domas Monkus

Pep8 fix and allow setting relation labels.

6a02198... by Domas Monkus

Fix relation.