Skip to content

Commit

Permalink
Fix endpoint and region formatting in function.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vGsteiger committed Jan 5, 2024
1 parent 35409bc commit 48a5ac6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_deployment_instructions(self) -> dict[str, list[Instruction]]:
instruction = self.get_deployment_instructions_gcp(region)
else:
raise RuntimeError(f"Unknown endpoint {endpoint}")
instructions[f"{endpoint}_{region}"] = instruction
instructions[f"{endpoint}:{region}"] = instruction
return instructions

def _get_memory_and_timeout(self) -> tuple[int, int]:
Expand Down

0 comments on commit 48a5ac6

Please sign in to comment.