Refactor method name to post_stop_hook

This commit is contained in:
James Curtin
2018-05-07 07:07:29 -04:00
parent 2f3f8d7826
commit 8dd9168077
4 changed files with 9 additions and 9 deletions

View File

@@ -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'