Commit f99e3d5
committed
Simplify dependency ready filters to use IsAvailable directly
Since IsAvailable implies Status.ID is set, the redundant check for
Status.ID != nil can be removed. Pass orcv1alpha1.IsAvailable directly
as the filter function for the ServerGroup and boot Volume dependencies,
consistent with the changes made in all other controllers.1 parent 92dffa5 commit f99e3d5
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
| 168 | + | |
171 | 169 | | |
172 | 170 | | |
173 | 171 | | |
| |||
274 | 272 | | |
275 | 273 | | |
276 | 274 | | |
277 | | - | |
278 | | - | |
279 | | - | |
| 275 | + | |
280 | 276 | | |
281 | 277 | | |
282 | 278 | | |
| |||
0 commit comments