- Add a log entry for repo verb handling and make the container usage calculation take it into account
- Move all the repo push/pull/verb logging into a central track_and_log method - Readd images accidentally deleted in the last CL - Make the uncompressed size migration script better handle exceptions
This commit is contained in:
parent
c65031eea5
commit
c1398c6d2b
18 changed files with 216 additions and 85 deletions
|
@ -64,7 +64,7 @@ class UsageInformation(ApiResource):
|
|||
if SuperUserPermission().can():
|
||||
return {
|
||||
'usage': model.get_repository_usage(),
|
||||
'allowed': 0
|
||||
'allowed': app.config.get('MAXIMUM_CONTAINER_USAGE', 20)
|
||||
}
|
||||
|
||||
abort(403)
|
||||
|
|
Reference in a new issue