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

Commit b7cf7ec

Browse files
author
shin-
committed
standalone is always true except when it's false
1 parent d2f1fb2 commit b7cf7ec

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
@@ -94,7 +94,7 @@ def response(data=None, code=200, headers=None, raw=False):
9494

9595
def validate_parent_access(parent_id):
9696
cfg = config.load()
97-
if cfg.standalone:
97+
if cfg.standalone is not False:
9898
return True
9999
auth = _parse_auth_header()
100100
if not auth:

0 commit comments

Comments
 (0)