Skip to content

Commit 26a24a7

Browse files
committed
Linter fix.
1 parent 8509c56 commit 26a24a7

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

ols/runners/quota_scheduler.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,11 @@ def reconcile_quota_limits(
192192
elif quota_limiter.type == constants.CLUSTER_QUOTA_LIMITER:
193193
reconcile_sql = RECONCILE_CLUSTER_QUOTA_LIMITS_STATEMENT
194194
else:
195-
logger.error("Unknown limiter type '%s' for '%s', skipping reconciliation",
196-
quota_limiter.type, name)
195+
logger.error(
196+
"Unknown limiter type '%s' for '%s', skipping reconciliation",
197+
quota_limiter.type,
198+
name,
199+
)
197200
return
198201

199202
new_quota = quota_limiter.initial_quota

ols/src/quota/revokable_quota_limiter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ def _reconcile_quota_limits(self) -> None:
222222
elif self.subject_type == "c":
223223
reconcile_sql = RevokableQuotaLimiter.RECONCILE_CLUSTER_QUOTA_LIMITS
224224
else:
225-
logger.error("Unknown subject type '%s', skipping reconciliation", self.subject_type)
225+
logger.error(
226+
"Unknown subject type '%s', skipping reconciliation", self.subject_type
227+
)
226228
return
227229

228230
try:

0 commit comments

Comments
 (0)