Skip to content

Commit dab4911

Browse files
author
Keerthan Mala
committed
fix(builds):User should be able to do a deploy an app after a failed attempt
1 parent ff8f651 commit dab4911

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rootfs/api/models/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def create(self, user, *args, **kwargs):
4646
except Exception as e:
4747
if 'new_release' in locals():
4848
new_release.delete()
49+
self.delete()
4950

5051
raise DeisException(str(e)) from e
5152

0 commit comments

Comments
 (0)