Skip to content

Commit

Permalink
migrated producer
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Nov 4, 2024
1 parent 62c83bd commit b18830a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions services/director/src/simcore_service_director/producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ async def _get_dependant_repos(


async def _find_service_tag(
list_of_images: dict, service_key: str, service_tag: str
list_of_images: dict, service_key: str, service_tag: str | None
) -> str:
if service_key not in list_of_images:
raise exceptions.ServiceNotAvailableError(
Expand All @@ -772,6 +772,7 @@ async def _find_service_tag(
)

log.debug("Service tag found is %s ", service_tag)
assert tag is not None # nosec
return tag


Expand Down Expand Up @@ -949,7 +950,7 @@ async def start_service(
user_id: str,
project_id: str,
service_key: str,
service_tag: str,
service_tag: str | None,
node_uuid: str,
node_base_path: str,
request_simcore_user_agent: str,
Expand Down

0 comments on commit b18830a

Please sign in to comment.