Skip to content

Commit

Permalink
fix hub api url in extension check_hub_version
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Feb 14, 2023
1 parent 6b6784f commit f45178d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jupyterhub/singleuser/extension.py
Expand Up @@ -332,11 +332,11 @@ async def check_hub_version(self):
RETRIES = 5
for i in range(1, RETRIES + 1):
try:
resp = await client.fetch(self.hub_api_url)
resp = await client.fetch(self.hub_auth.api_url)
except Exception:
self.log.exception(
"Failed to connect to my Hub at %s (attempt %i/%i). Is it running?",
self.hub_api_url,
self.hub_auth.api_url,
i,
RETRIES,
)
Expand Down

0 comments on commit f45178d

Please sign in to comment.