mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 20:00:07 +00:00
Use contextual logging in sync() and syncStatus() by passing ctx from the caller instead of context.Background(). Replace klog.Infof calls with logger.Info/Error from klog.FromContext(ctx). Update tests to use ktesting.NewTestContext. Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>