We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b10a3d7 + 8da69f2 commit 98940b2Copy full SHA for 98940b2
binderhub/builder.py
@@ -537,7 +537,7 @@ async def launch(self, provider):
537
_preload_content=False,
538
)
539
resp = await asyncio.wrap_future(f)
540
- pods = json.loads(resp.read())
+ pods = json.loads(resp.read())["items"]
541
total_pods = len(pods)
542
543
if pod_quota is not None and total_pods >= pod_quota:
@@ -550,7 +550,7 @@ async def launch(self, provider):
550
await self.fail("Too many users on this BinderHub! Try again soon.")
551
return
552
553
- for pod in pods["items"]:
+ for pod in pods:
554
for container in pod["spec"]["containers"]:
555
# is the container running the same image as us?
556
# if so, count one for the current repo.
0 commit comments