mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-14 05:23:01 +00:00
pass server_name to the spawner
This commit is contained in:
@@ -228,6 +228,8 @@ class User(HasTraits):
|
|||||||
db.commit()
|
db.commit()
|
||||||
|
|
||||||
spawner = self.spawner
|
spawner = self.spawner
|
||||||
|
# Passing server_name to the spawner
|
||||||
|
spawner.server_name = server_name
|
||||||
spawner.user_options = options or {}
|
spawner.user_options = options or {}
|
||||||
# we are starting a new server, make sure it doesn't restore state
|
# we are starting a new server, make sure it doesn't restore state
|
||||||
spawner.clear_state()
|
spawner.clear_state()
|
||||||
|
Reference in New Issue
Block a user