mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-02-12 13:01:51 +00:00
add db param for usage limits
This commit is contained in:
parent
e375e452e2
commit
019dae3502
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ def set_limits(user):
|
|||
cpu = request.form['cpu']
|
||||
mem = request.form['mem']
|
||||
disk = request.form['disk']
|
||||
set_user_usage_limits(user, cpu, mem, disk)
|
||||
set_user_usage_limits(db, user, cpu, mem, disk)
|
||||
return '', 200
|
||||
else:
|
||||
return '', 403
|
||||
|
|
Loading…
Reference in a new issue