Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
This commit is contained in:
commit
95dcf58b90
1 changed files with 2 additions and 0 deletions
|
@ -229,6 +229,7 @@ def create_repository(namespace, repository):
|
|||
if get_validated_oauth_token():
|
||||
mixpanel.track(username, 'push_repo', extra_params)
|
||||
|
||||
oauth_token = get_validated_oauth_token()
|
||||
metadata['oauth_token_id'] = oauth_token.id
|
||||
metadata['oauth_token_application_id'] = oauth_token.application.client_id
|
||||
metadata['oauth_token_application'] = oauth_token.application.name
|
||||
|
@ -353,6 +354,7 @@ def get_repository_images(namespace, repository):
|
|||
}
|
||||
|
||||
if get_validated_oauth_token():
|
||||
oauth_token = get_validated_oauth_token()
|
||||
metadata['oauth_token_id'] = oauth_token.id
|
||||
metadata['oauth_token_application_id'] = oauth_token.application.client_id
|
||||
metadata['oauth_token_application'] = oauth_token.application.name
|
||||
|
|
Reference in a new issue