You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🌱 (chore): avoid shadowing of 'config', 'err', and patch error in helm and deploy-image scaffolds (#4660)
fix: avoid shadowing of 'config', 'err', and patch error in helm and deploy-image scaffolds
Renamed variables and parameters in pkg/plugins/optional/helm/v1alpha and
pkg/plugins/golang/deploy-image/v1alpha1 to avoid shadowing: 'config' → 'cfg',
reused 'err' instead of shadowing it with ':=' assignments, and separated
'errPatch' from the main error flow. These changes improve error handling clarity
and prevent bugs related to accidental shadowing.
0 commit comments