New ๐ŸŒŠ wave for @helm

Commit 309ffb9f

309ffb9f0db9Merged

Roman Mironov <[email protected]> ยท 3 years ago ยท 3 files ยท ~3 modified

Description

fix: linters

Details

Commit
309ffb9f0db9
Parent
505368978b3a

pkg/action/build_internal_test.gomodifiedView file

@@ -137,7 +137,8 @@
137137 },
138138 autoYml: true,
139139 }
140- sfailByTag.tags.Set("nginx")
140+ err := sfailByTag.tags.Set("nginx")
141+ ts.Require().NoError(err)
141142
142143 sa := &Build{
143144 plandir: tmpDir,
@@ -148,7 +149,8 @@
148149 },
149150 autoYml: true,
150151 }
151- sa.tags.Set("nginx-a")
152+ err = sa.tags.Set("nginx-a")
153+ ts.Require().NoError(err)
152154
153155 sb := &Build{
154156 plandir: tmpDir,
@@ -159,10 +161,11 @@
159161 },
160162 autoYml: true,
161163 }
162- sb.tags.Set("nginx-b")
164+ err = sb.tags.Set("nginx-b")
165+ ts.Require().NoError(err)
163166
164- ts.Require().ErrorIs(sfail.Run(context.Background()), plan.ErrDuplicateReleases{})
165- ts.Require().ErrorIs(sfailByTag.Run(context.Background()), plan.ErrDuplicateReleases{})
167+ ts.Require().ErrorIs(sfail.Run(context.Background()), plan.DuplicateReleasesError{})
168+ ts.Require().ErrorIs(sfailByTag.Run(context.Background()), plan.DuplicateReleasesError{})
166169 ts.Require().NoError(sa.Run(context.Background()))
167170 ts.Require().NoError(sb.Run(context.Background()))
168171 }