Skip to content

Commit

Permalink
Add limit:1 in the cos-agent relation (#122)
Browse files Browse the repository at this point in the history
Not limiting the amount of relations you can establish through this interface may lead to weird situations.

For more context: https://discourse.charmhub.io/t/one-grafana-agent-charm-to-rule-them-all/16014
  • Loading branch information
Abuelodelanada authored Nov 22, 2024
1 parent b9fb8f8 commit 783f90d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ requires:
provides:
cos-agent:
interface: cos_agent
limit: 1

# These bindings can be used to explicitly request interfaces in all the OpenStack
# network spaces. Needed when APIs are not exposed in the same network as the one bound
Expand Down

0 comments on commit 783f90d

Please sign in to comment.