mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 05:53:00 +00:00
progress url is at server/progress
instead of server-progress
This commit is contained in:
@@ -887,10 +887,12 @@ class UserSpawnHandler(BaseHandler):
|
||||
pass
|
||||
|
||||
# we may have waited above, check pending again:
|
||||
progress_url = url_path_join(
|
||||
self.hub.base_url, 'api/users',
|
||||
user.escaped_name, 'server-progress', spawner.name,
|
||||
)
|
||||
url_parts = [self.hub.base_url, 'api/users', user.escaped_name]
|
||||
if spawner.name:
|
||||
url_parts.extend(['servers', spawner.name, 'progress'])
|
||||
else:
|
||||
url_parts.extend(['server/progress'])
|
||||
progress_url = url_path_join(*url_parts)
|
||||
|
||||
if spawner.pending:
|
||||
self.log.info("%s is pending %s", spawner._log_name, spawner.pending)
|
||||
|
Reference in New Issue
Block a user