Change build_context_and_subject to take kwargs

This commit is contained in:
Evan Cordell 2017-03-22 13:19:22 -04:00
parent 21d969d309
commit 6ad107709c
4 changed files with 5 additions and 6 deletions

View file

@ -105,7 +105,7 @@ class SecurityScannerAPI(object):
# Generate the JWT which will authorize this
audience = self._app.config['SERVER_HOSTNAME']
context, subject = build_context_and_subject(None, None, None, None)
context, subject = build_context_and_subject()
access = [{
'type': 'repository',
'name': repository_and_namespace,