Skip to content

Commit

Permalink
chore: remove _v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Aug 5, 2024
1 parent 4f790d3 commit 9ec3ff9
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 @@ -33,9 +33,9 @@ def get_container_registry_cls(registry_info: Mapping[str, Any]) -> Type[BaseCon

cr_cls = GitHubRegistry
elif registry_type == "gitlab":
from .gitlab import GitLabRegistry_v2
from .gitlab import GitLabRegistry

cr_cls = GitLabRegistry_v2
cr_cls = GitLabRegistry
elif registry_type == "local":
from .local import LocalRegistry

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


class GitLabRegistry_v2(BaseContainerRegistry):
class GitLabRegistry(BaseContainerRegistry):
async def fetch_repositories(self, sess: aiohttp.ClientSession) -> AsyncIterator[str]:
name, access_token, gitlab_project = (
self.registry_info["username"],
Expand Down

0 comments on commit 9ec3ff9

Please sign in to comment.