Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Commit 0a4f90f

Browse files
author
shin-
committed
Small fix to validate_parent_access
1 parent e006736 commit 0a4f90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker_registry/toolkit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def validate_parent_access(parent_id):
118118
))
119119
return False
120120
try:
121-
return json.loads(resp.text).get('authorized', False)
121+
return json.loads(resp.text).get('access', False)
122122

123123
except json.JSONDecodeError:
124124
logger.debug('validate_parent_access: Wrong response format')

0 commit comments

Comments
 (0)