Skip to content

Commit 8546cbb

Browse files
committed
Fix golangci-lint
Signed-off-by: Erik Godding Boye <[email protected]>
1 parent 8556e33 commit 8546cbb

File tree

9 files changed

+10
-1
lines changed

9 files changed

+10
-1
lines changed

pkg/bundle/controller/bundle_controller.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
//nolint:staticcheck // SA1019
1718
package controller
1819

1920
import (
@@ -41,7 +42,7 @@ type BundleReconciler struct {
4142
// SetupWithManager sets up the controller with the Manager.
4243
func (r *BundleReconciler) SetupWithManager(mgr ctrl.Manager) error {
4344
return ctrl.NewControllerManagedBy(mgr).
44-
For(&trustapi.Bundle{}). //lint:ignore SA1019
45+
For(&trustapi.Bundle{}).
4546
Owns(&trustmanagerapi.ClusterBundle{}).
4647
Complete(r)
4748
}

pkg/webhook/validation.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
//nolint:staticcheck // SA1019
1718
package webhook
1819

1920
import (

pkg/webhook/validation_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
//nolint:staticcheck // SA1019
1718
package webhook
1819

1920
import (

pkg/webhook/webhook.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
//nolint:staticcheck // SA1019
1718
package webhook
1819

1920
import (

test/env/data.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
//nolint:staticcheck // SA1019
1718
package env
1819

1920
import (

test/integration/bundle/suite.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
//nolint:staticcheck // SA1019
1718
package test
1819

1920
import (

test/integration/bundle/validation_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
//nolint:staticcheck // SA1019
1718
package test
1819

1920
import (

test/integration/clusterbundle/migration_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
//nolint:staticcheck // SA1019
1718
package test
1819

1920
import (

test/smoke/suite_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
//nolint:staticcheck // SA1019
1718
package smoke
1819

1920
import (

0 commit comments

Comments
 (0)