Commit 6e65cf8
committed
fix: explicitly wait for LRO in enable-addons and disable-addons
aks enable-addons and aks disable-addons were returning the LRO poller
from sdk_no_wait without explicitly waiting for completion. When the
server-side operation takes longer, the initial response returns
provisioningState 'Updating' instead of 'Succeeded'.
Fix by using LongRunningOperation to explicitly wait when no_wait is
not set, matching the pattern used in put_mc and the
need_post_creation_role_assignment path.1 parent 027abe3 commit 6e65cf8
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3032 | 3032 | | |
3033 | 3033 | | |
3034 | 3034 | | |
3035 | | - | |
| 3035 | + | |
| 3036 | + | |
| 3037 | + | |
| 3038 | + | |
3036 | 3039 | | |
3037 | 3040 | | |
3038 | 3041 | | |
| |||
3189 | 3192 | | |
3190 | 3193 | | |
3191 | 3194 | | |
3192 | | - | |
3193 | | - | |
| 3195 | + | |
| 3196 | + | |
| 3197 | + | |
| 3198 | + | |
| 3199 | + | |
| 3200 | + | |
3194 | 3201 | | |
3195 | 3202 | | |
3196 | 3203 | | |
| |||
0 commit comments