Merge pull request #3207 from quay/project/gen-sec-key
Add the service key creation to config tool
This commit is contained in:
commit
ec14007268
34 changed files with 1480 additions and 137 deletions
|
@ -145,7 +145,7 @@ def set_key_expiration(kid, expiration_date):
|
|||
service_key.save()
|
||||
|
||||
|
||||
def approve_service_key(kid, approver, approval_type, notes=''):
|
||||
def approve_service_key(kid, approval_type, approver=None, notes=''):
|
||||
try:
|
||||
with db_transaction():
|
||||
key = db_for_update(ServiceKey.select().where(ServiceKey.kid == kid)).get()
|
||||
|
|
Reference in a new issue