mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 18:16:52 +02:00
fix: lint issues
- Fix QF1016 in helmexec/exec.go: use fmt.Fprintf instead of Write([]byte(fmt.Sprintf()))
- Remove unused allReleases parameter from collectDirectNeeds
Signed-off-by: yxxhero <aiopsclub@163.com>
(cherry picked from commit 4a6996c014)
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
+1
-1
@@ -3056,7 +3056,7 @@ func unmarkDirectNeeds(filteredReleases []Release, allReleases []ReleaseSpec) {
|
||||
unmarkReleases(directNeeds, filteredReleases)
|
||||
}
|
||||
|
||||
func collectDirectNeeds(filteredReleases []Release, allReleases []ReleaseSpec) map[string]struct{} {
|
||||
func collectDirectNeeds(filteredReleases []Release, _ []ReleaseSpec) map[string]struct{} {
|
||||
directNeeds := map[string]struct{}{}
|
||||
for _, r := range filteredReleases {
|
||||
if !r.Filtered {
|
||||
|
||||
Reference in New Issue
Block a user