Relations are checked by application name and not charm name
Bug #2043115 reported by
Giuseppe Petralia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Lint |
In Progress
|
Undecided
|
Unassigned |
Bug Description
If I add a check like:
relations cos check: &relations-
- charm: cos-proxy
check: [
[
]
but the bundle has nrpe deployed as nrpe-compute or other applications name the check is not enforced. Same if cos-proxy is deployed as cos-proxy-monitors since juju-lint believes that charm doesn't exist
Related branches
~peppepetra/juju-lint:lp2043115
Ready for review
for merging
into
juju-lint:master
- Gabriel Cocenza: Needs Fixing
- 🤖 prod-jenkaas-bootstack (community): Needs Fixing (continuous-integration)
- BootStack Reviewers: Pending requested
-
Diff: 267 lines (+85/-28)5 files modifiedjujulint/checks/relations.py (+1/-0)
jujulint/model_input.py (+56/-13)
tests/unit/test_input.py (+1/-4)
tests/unit/test_jujulint.py (+4/-4)
tests/unit/test_relations.py (+23/-7)
description: | updated |
Changed in juju-lint: | |
status: | New → In Progress |
To post a comment you must log in.