Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sed-i committed Jan 17, 2024
1 parent 080181d commit 1893258
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ class PrometheusCharm(CharmBase):

def __init__(self, *args):
super().__init__(*args)
self.status = CompositeStatus()
self.status = CompositeStatus(
retention_size=ActiveStatus(), timespec=ActiveStatus(), k8s_patch=ActiveStatus()
)

self._name = "prometheus"
self._port = 9090
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ deps =
cosl
ops >= 2.5.0
pytest
ops-scenario >= 5.1
ops-scenario == 5.8.1
-r{toxinidir}/requirements.txt
opentelemetry-exporter-otlp-proto-grpc==1.17.0 # PYDEPS for tracing
importlib-metadata==6.0.0 # PYDEPS for tracing
Expand Down

0 comments on commit 1893258

Please sign in to comment.