Commit 69ee1bf
Matthew Fisher
fix(api): pass if no builds are associated with the release
If an application only has releases with no builds (such as a `deis create`),
the restoration process will bail out because an exception was raised,
killing the controller. However, this is not a concern if no build
is associated with the release, so we can just check and ignore
this case.1 parent 0cb2f02 commit 69ee1bf
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
0 commit comments