Skip to content

Commit 15732c3

Browse files
committed
ignored complexity issue on _patch
1 parent df20722 commit 15732c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/charms/observability_libs/v0/kubernetes_compute_resources_patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def __init__(
616616
def _on_config_changed(self, _):
617617
self._patch()
618618

619-
def _patch(self) -> None:
619+
def _patch(self) -> None: # noqa: C901
620620
"""Patch the Kubernetes resources created by Juju to limit cpu or mem.
621621
622622
This method will keep on retrying to patch the kubernetes resource for a default duration of 20 seconds

0 commit comments

Comments
 (0)