Skip to content

Commit

Permalink
refactored string lists
Browse files Browse the repository at this point in the history
  • Loading branch information
JTaeuber committed Nov 14, 2024
1 parent de3c219 commit d1678d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kube_downscaler/scaler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import re
import time
from typing import FrozenSet
from typing import List
from typing import Optional
from typing import Pattern

Expand Down Expand Up @@ -494,7 +495,7 @@ def scale_down_jobs(
uptime,
downtime,
admission_controller: str,
excluded_jobs: [str],
excluded_jobs: List[str],
matching_labels: FrozenSet[Pattern],
dry_run: bool,
enable_events: bool,
Expand Down Expand Up @@ -790,7 +791,7 @@ def autoscale_jobs_for_namespace(
dry_run: bool,
now: datetime.datetime,
grace_period: int,
excluded_jobs: [str],
excluded_jobs: List[str],
admission_controller: str,
deployment_time_annotation: Optional[str] = None,
namespace_excluded: bool = False,
Expand Down

0 comments on commit d1678d8

Please sign in to comment.