Allow force push for app

This commit is contained in:
Antoine Legrand 2017-03-23 22:50:07 +01:00
parent 3976735230
commit bbd74eabd1
4 changed files with 53 additions and 55 deletions

View file

@ -350,7 +350,7 @@ class OCIAppModel(AppRegistryDataInterface):
repo_kind='application')
tag_name = package.release
oci_model.release.create_app_release(repo, tag_name, package.manifest(),
data['content']['digest'])
data['content']['digest'], force)
def delete_release(self, package_name, release, media_type):
""" Remove/Delete an app-release from an app-repository.