Skip to content

Commit

Permalink
Merge pull request #588 from JonathanO/fix-570-queuedprovisioning-loop
Browse files Browse the repository at this point in the history
Fix NodePool.container update loop by ignoring empty diff for queued_provisioning
  • Loading branch information
turkenf authored Jul 24, 2024
2 parents e616db2 + 398697f commit 3797c17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/container/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ func Configure(p *config.Provider) { //nolint:gocyclo
if asDiff, ok := diff.Attributes["autoscaling.#"]; ok && asDiff.Old == "" && asDiff.New == "" {
delete(diff.Attributes, "autoscaling.#")
}
if qpDiff, ok := diff.Attributes["queued_provisioning.#"]; ok && qpDiff.Old == "" && qpDiff.New == "" {
delete(diff.Attributes, "queued_provisioning.#")
}
return diff, nil
}
})
Expand Down

0 comments on commit 3797c17

Please sign in to comment.