fix: nil check not needed on bool

Signed-off-by: Manetheren <git@manetheren.io>
This commit is contained in:
Manetheren 2026-01-08 13:52:46 -07:00
parent 7560e5bd4e
commit b29f213acd
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ func (st *HelmState) prepareSyncReleases(helm helmexec.Interface, additionalValu
}
}
if st.HelmDefaults.SkipCRDs != nil && st.HelmDefault.SkipCRDs || opts.SkipCRDs {
if st.HelmDefault.SkipCRDs || opts.SkipCRDs {
flags = append(flags, "--skip-crds")
}