Skip to content

Commit

Permalink
chore(): Remove duplicate class definition
Browse files Browse the repository at this point in the history
  • Loading branch information
alithethird committed Oct 15, 2024
1 parent 9f2d1e3 commit 27d15c3
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/github_runner_manager/metrics/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
RunnerMetricsError,
)
from github_runner_manager.metrics import events as metric_events
from github_runner_manager.metrics.events import CodeInformation
from github_runner_manager.metrics.storage import MetricsStorage
from github_runner_manager.metrics.storage import StorageManager as MetricsStorageManager
from github_runner_manager.metrics.storage import move_to_quarantine
Expand Down Expand Up @@ -64,16 +65,6 @@ class PostJobStatus(str, Enum):
REPO_POLICY_CHECK_FAILURE = "repo-policy-check-failure"


class CodeInformation(BaseModel):
"""Information about a status code.
Attributes:
code: The status code.
"""

code: int


class PostJobMetrics(BaseModel):
"""Metrics for the post-job phase of a runner.
Expand Down

0 comments on commit 27d15c3

Please sign in to comment.