Commit 1b40b8c
authored
[cluster agent][autoscaling] fix target hash check (#44910)
### What does this PR do?
Fixes behavior if a target NodePool is not found in the cluster for an inferred NodePool
### Motivation
Fix unintended behavior when patching nodepools
### Describe how you validated your changes
In a test cluster pointing to staging, made sure inferred NodePools could be patched properly
### Additional Notes
Co-authored-by: celene <[email protected]>1 parent 0e29828 commit 1b40b8c
File tree
2 files changed
+9
-12
lines changed- pkg/clusteragent/autoscaling/cluster
- releasenotes/notes
2 files changed
+9
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | 156 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | 193 | | |
201 | 194 | | |
202 | 195 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments