Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Commit

Permalink
Only check user's home myquota
Browse files Browse the repository at this point in the history
  • Loading branch information
rcthomas committed Jan 15, 2019
1 parent fbb88cc commit d447e1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jupyter-dev-nersc/web/jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,8 @@ async def setup(spawner):
username=username,
client_keys=[(k,c)],
known_hosts=None) as conn:
result = await conn.run("myquota -c")
home = "/global/homes/{}/{}".format(username[0], username)
result = await conn.run("myquota -c {}".format(home))
retcode = result.exit_status
# result = await conn.run(spawner.remote_port_command)
# remote_port = int(result.stdout)
Expand Down

0 comments on commit d447e1a

Please sign in to comment.