mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-08 02:24:08 +00:00
Refactor method name to post_stop_hook
This commit is contained in:
@@ -19,7 +19,7 @@ def clean_dir_hook(spawner):
|
||||
|
||||
# attach the hook functions to the spawner
|
||||
c.Spawner.pre_spawn_hook = create_dir_hook
|
||||
c.Spawner.post_spawn_hook = clean_dir_hook
|
||||
c.Spawner.post_stop_hook = clean_dir_hook
|
||||
|
||||
# Use the DockerSpawner to serve your users' notebooks
|
||||
c.JupyterHub.spawner_class = 'dockerspawner.DockerSpawner'
|
||||
|
Reference in New Issue
Block a user