Merge ~mertkirpici/juju-lint:lp/2009536-2 into juju-lint:master
Status: | Merged |
---|---|
Approved by: | Erhan Sunar |
Approved revision: | dde3f5b57d00fa879b012e6a65e9c3ba414bca3c |
Merged at revision: | 1c8b9c00d72021c309bccbddf0801c695e129f8e |
Proposed branch: | ~mertkirpici/juju-lint:lp/2009536-2 |
Merge into: | juju-lint:master |
Diff against target: |
125 lines (+75/-3) 3 files modified
contrib/includes/base.yaml (+2/-0) jujulint/lint.py (+10/-3) tests/unit/test_jujulint.py (+63/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrea Ieri (community) | Approve | ||
🤖 prod-jenkaas-bootstack | continuous-integration | Approve | |
Gabriel Cocenza | Approve | ||
BootStack Reviewers | Pending | ||
Tianqi Xiao | Pending | ||
Eric Chen | Pending | ||
Review via email: mp+440425@code.staging.launchpad.net |
This proposal supersedes a proposal from 2023-03-28.
Commit message
LP #2009536
Description of the change
lint: issue error for optional duplicate subs
This commit adds the following behavior to juju-lint:
- Issue error if a subordinate not declared in the top level subordinates
object but has multiple units on the same machine
- Ignore any placement checks for subordinate charms that are declared
in the top level subordinates object however missing the "where"
clause
- Allow multiple units of the rsyslog-
on the same machine as part of the default shipped rules.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.