Use the real registry endpoint in the login command.

This commit is contained in:
jakedt 2014-04-01 19:00:11 -04:00
parent 3525e383df
commit ca1970a2f4
2 changed files with 3 additions and 2 deletions

View file

@ -1471,7 +1471,7 @@ def get_pull_credentials(trigger):
return {
'username': trigger.pull_user.username,
'password': login_info.service_ident,
'registry': app.config['URL_HOST'],
'registry': '%s://%s/v1/' % (app.config['URL_SCHEME'], app.config['URL_HOST']),
}
def create_webhook(repo, params_obj):