Skip to content

Commit

Permalink
Add comment about stop vs stop&remove for named servers
Browse files Browse the repository at this point in the history
  • Loading branch information
betatim committed Jan 30, 2020
1 parent a0787c6 commit 836f19a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jupyterhub/files/hub/cull_idle_servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ def handle_server(user, server_name, server):
body = None
if server_name:
# culling a named server
# A named server can be stopped and kept available to the user
# for starting again or stopped and removed. To remove the named
# server we have to pass an additional option in the body of our
# DELETE request.
delete_url = url + "/users/%s/servers/%s" % (
quote(user['name']),
quote(server['name']),
Expand Down

0 comments on commit 836f19a

Please sign in to comment.