Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 1f193dd

Browse files
github-actions[bot]hayk96
authored andcommitted
Commit lint fixes
Signed-off-by: github-actions[bot] <46712946+hayk96@users.noreply.github.com>
1 parent 8ff7ba5 commit 1f193dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/policies.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def load_policies() -> dict:
7878
with open(f"{rule_path}/{policies_data_file}", "r") as f:
7979
policies = json.loads(f.read())
8080
except FileNotFoundError:
81-
logger.debug(f"No metrics lifecycle policies configured yet")
81+
logger.debug("No metrics lifecycle policies configured yet")
8282
except BaseException as e:
8383
logger.error(f"Failed to load metrics lifecycle policies. {e}")
8484
finally:

src/tasks/policies.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def task_run_policies():
5757
f"Starting job to cleanup time-series.")
5858
for p in policies:
5959
logger.debug(
60-
f"Task cleanup time-series is in progress", extra={
60+
"Task cleanup time-series is in progress", extra={
6161
"policy_name": p, "match": policies[p]["match"],
6262
"keep_for": policies[p]["keep_for"]})
6363
delete_series(policy_name=p, policy=policies[p])

0 commit comments

Comments
 (0)