Skip to content

Commit

Permalink
fix: broken codes
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Aug 3, 2024
1 parent ef854c2 commit 007f245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ai/backend/manager/container_registry/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ async def scan_single_ref(self, image_ref: str) -> None:
all_updates_token = all_updates.set({})
sema_token = concurrency_sema.set(asyncio.Semaphore(1))
try:
username = self.registry_info["username"]
username = self.registry_info.username
if username is not None:
self.credentials["username"] = username
password = self.registry_info["password"]
password = self.registry_info.password
if password is not None:
self.credentials["password"] = password
async with self.prepare_client_session() as (url, sess):
Expand Down

0 comments on commit 007f245

Please sign in to comment.