Merge branch 'rustedbuilds' of ssh://bitbucket.org/yackob03/quay into rustedbuilds
This commit is contained in:
commit
7add6679b6
3 changed files with 4 additions and 4 deletions
|
@ -1435,8 +1435,7 @@ def activate_build_trigger(namespace, repository, trigger_uuid):
|
|||
trigger.auth_token, new_config_dict)
|
||||
except TriggerActivationException as e:
|
||||
token.delete_instance()
|
||||
abort(400, message = e.msg)
|
||||
return
|
||||
return request_error(message=e.message)
|
||||
|
||||
# Save the updated config.
|
||||
trigger.config = json.dumps(final_config)
|
||||
|
|
Reference in a new issue