Fix registry tests
This commit is contained in:
parent
26cea9a07c
commit
dd61f56e89
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ class V2RegistryMixin(BaseRegistryMixin):
|
||||||
params = {
|
params = {
|
||||||
'account': username,
|
'account': username,
|
||||||
'scope': 'repository:%s/%s:%s' % (namespace, repository, ','.join(scopes)),
|
'scope': 'repository:%s/%s:%s' % (namespace, repository, ','.join(scopes)),
|
||||||
'service': 'quay'
|
'service': app.config['SERVER_HOSTNAME'],
|
||||||
}
|
}
|
||||||
|
|
||||||
response = self.conduct('GET', '/v2/auth', params=params, auth=(username, password),
|
response = self.conduct('GET', '/v2/auth', params=params, auth=(username, password),
|
||||||
|
|
Reference in a new issue