mirror of
https://github.com/siderolabs/talos.git
synced 2026-01-09 18:51:17 +01:00
Call `FillDefaults` on platform-acquired bond config. As platform config controller might have cached (saved) representation of bond config, we need to ensure we adapt it to the latest bond configuration. In particular, new fields introduced in v1.12 require some values to be set which `.FillDefaults()` does for us. Otherwise, Talos enters a loop trying to reconfigure the bond in a loop. Prove with a unit-test (it fails if `.FillDefaults()` is removed). Fixes #12561 Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>