Commit 6150709
authored
direct: plan: when action=delete, do not fail deps on read errors (#4462)
## Why
It's intended to work like that: if we plan to delete the resource we're
reading it to see in case it already deleted. If we get error during
read, we should delegate to resource's DoDelete() method - some of them
are intentionally no-ops, so they will succeed.
Fixes
acceptance/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions1 parent 86622c7 commit 6150709
File tree
2 files changed
+8
-5
lines changed- acceptance/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions
- bundle/direct
2 files changed
+8
-5
lines changedLines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | | - | |
| 8 | + | |
7 | 9 | | |
8 | | - | |
9 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
0 commit comments