Commit ec416966 authored by Cool Fire's avatar Cool Fire

Quota is always known if it is set

parent a4819fa2
Pipeline #1959 passed with stage
in 2 minutes and 16 seconds
......@@ -7,7 +7,7 @@ class Manager2Api < Sinatra::Base
# Disk quotas
def limit_disk_get(username)
data = git_get
return 'No disk quota set, default is 5000 MB' unless data[username]['properties'].key? 'quota'
return 'No disk quota set' unless data[username]['properties'].key? 'quota'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment