canonical / discourse-k8s-operator

discourse-k8s-operator - charm repository.
Apache License 2.0
7 stars 5 forks source link

Update lp1903695.patch #251

Closed codethulu closed 4 months ago

codethulu commented 5 months ago

Removed the git diff command from the patch

Overview

Trivial removal of code

Rationale

The rock currently cannot be packed.

Juju Events Changes

Module Changes

Library Changes

Checklist

github-actions[bot] commented 5 months ago

Test coverage for ab69e651b300209ab8f85fad99a792fa8621feb9

Name              Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------
src/charm.py        321     27     78     12    90%   186, 194-195, 207, 335->343, 376->381, 393, 575-577, 582-583, 595-597, 602-603, 615-617, 640-642, 684->exit, 694->exit, 724-730, 756->exit, 770-771, 781->exit, 795
src/database.py      30      1      8      1    95%   56
-------------------------------------------------------------
TOTAL               351     28     86     13    91%

Static code analysis report

Run started:2024-05-16 09:33:33.585537

Test results:
    No issues identified.

Code scanned:
    Total lines of code: 2047
    Total lines skipped (#nosec): 3
    Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
    Total issues (by severity):
        Undefined: 0
        Low: 0
        Medium: 0
        High: 0
    Total issues (by confidence):
        Undefined: 0
        Low: 0
        Medium: 0
        High: 0
Files skipped (0):
codethulu commented 4 months ago

Relevant changes covered by this PR https://github.com/canonical/discourse-k8s-operator/pull/241