Skip to content

Commit

Permalink
chore: Remove useless comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine authored and kyujin-cho committed Aug 1, 2024
1 parent 5ba4c2e commit 856f994
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/ai/backend/agent/docker/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,6 @@ async def push_image(self, image_ref: ImageRef, registry_conf: ImageRegistry) ->
}

async with closing_async(Docker()) as docker:
# TODO: Fix the error where no error is displayed even when an authentication error occurs.
await docker.images.push(image_ref.canonical, auth=auth_config)

async def pull_image(self, image_ref: ImageRef, registry_conf: ImageRegistry) -> None:
Expand Down
1 change: 0 additions & 1 deletion src/ai/backend/manager/container_registry/aws_ecr.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ async def fetch_repositories(
response = client.describe_repositories(maxResults=30)

for repo in response["repositories"]:
# TODO: Fix this.
registry_alias = (repo["repositoryUri"].split("/"))[1]
yield f"{registry_alias}/{repo["repositoryName"]}"

Expand Down

0 comments on commit 856f994

Please sign in to comment.