Commit c2d496a
committed
Ignore ResourceExists errors from bbs_apps_client
- This is a re-implementation of 133486e
- This error can be raised by BBS when there is a race condition between
the CC syncer and CC API when creating an LRP for a process
- Since we want to desire a process anyway, it already existing (with
the correct version) is likely not an error case. Thus, we can behave
idempotently.
- Improvements from previous implementation:
- No longer ignores other types of APIErrors in
desire_app_handler.rb
- No longer coupled to the exact error message coming from BBS1 parent 81be7c7 commit c2d496a
File tree
2 files changed
+9
-1
lines changed- lib/cloud_controller/diego
- spec/unit/lib/cloud_controller/diego
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
54 | 62 | | |
55 | 63 | | |
56 | 64 | | |
| |||
0 commit comments