Commit 72d4210
committed
Interpolate cloud_properties before passing to CPI update_disk
Both update_detached_disks and update_disk_cpi were passing raw
cloud_properties to the CPI, which could contain unresolved variable
placeholders like ((...)). The create_disk path already resolves
these via variables_interpolator.interpolate_with_versioning; do the
same for the update paths.1 parent fd28702 commit 72d4210
File tree
2 files changed
+19
-2
lines changed- src/bosh-director
- lib/bosh/director
- spec/unit/bosh/director
2 files changed
+19
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
87 | 91 | | |
88 | | - | |
| 92 | + | |
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
| |||
316 | 320 | | |
317 | 321 | | |
318 | 322 | | |
319 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
320 | 328 | | |
321 | 329 | | |
322 | 330 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
181 | 187 | | |
182 | 188 | | |
183 | 189 | | |
| |||
806 | 812 | | |
807 | 813 | | |
808 | 814 | | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
809 | 818 | | |
810 | 819 | | |
811 | 820 | | |
| |||
0 commit comments