Skip to content

Commit

Permalink
Apply group overrides before pre_spawn hook
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed May 24, 2024
1 parent e8fbe84 commit 2bb2765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyterhub/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,8 @@ async def spawn(self, server_name='', options=None, handler=None):
db.commit()
# wait for spawner.start to return
# run optional preparation work to bootstrap the notebook
await maybe_future(spawner.run_pre_spawn_hook())
await spawner.apply_group_overrides()
await maybe_future(spawner.run_pre_spawn_hook())
if self.settings.get('internal_ssl'):
self.log.debug("Creating internal SSL certs for %s", spawner._log_name)
hub_paths = await maybe_future(spawner.create_certs())
Expand Down

0 comments on commit 2bb2765

Please sign in to comment.