Skip to content

Commit

Permalink
chore: Remove useless postfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Aug 5, 2024
1 parent 266fd30 commit 80babfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ai/backend/manager/container_registry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ def get_container_registry_cls(registry_info: ContainerRegistryRow) -> Type[Base

cr_cls = HarborRegistry_v2
elif registry_type == ContainerRegistryType.GITHUB:
from .github import GitHubRegistry_v2
from .github import GitHubRegistry

cr_cls = GitHubRegistry_v2
cr_cls = GitHubRegistry
elif registry_type == ContainerRegistryType.LOCAL:
from .local import LocalRegistry

Expand Down
2 changes: 1 addition & 1 deletion src/ai/backend/manager/container_registry/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
log = BraceStyleAdapter(logging.getLogger(__spec__.name)) # type: ignore[name-defined]


class GitHubRegistry_v2(BaseContainerRegistry):
class GitHubRegistry(BaseContainerRegistry):
async def fetch_repositories(
self,
sess: aiohttp.ClientSession,
Expand Down

0 comments on commit 80babfd

Please sign in to comment.