From 942aeefaa9f6a53bac03619294d54446b319b78c Mon Sep 17 00:00:00 2001 From: Ricardo Lopes Date: Wed, 4 Dec 2024 15:44:54 +0000 Subject: [PATCH] Ignore G115 safe conversion int -> int32 Signed-off-by: Ricardo Lopes --- test/e2e/framework/deployment.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/framework/deployment.go b/test/e2e/framework/deployment.go index 148552f3e..63cdbc561 100644 --- a/test/e2e/framework/deployment.go +++ b/test/e2e/framework/deployment.go @@ -139,7 +139,7 @@ func (f *Framework) NewCustomErrorPagesDeployment(opts ...func(*deploymentOption options.namespace, options.image, 8080, - int32(options.replicas), + int32(options.replicas), //nolint:gosec // disable G115 nil, nil, envVars, []corev1.VolumeMount{}, @@ -195,7 +195,7 @@ func (f *Framework) NewEchoDeployment(opts ...func(*deploymentOptions)) { options.namespace, options.image, 80, - int32(options.replicas), + int32(options.replicas), //nolint:gosec // disable G115 nil, nil, nil, []corev1.VolumeMount{}, []corev1.Volume{}, @@ -286,7 +286,7 @@ func (f *Framework) NewHttpbunDeployment(opts ...func(*deploymentOptions)) strin options.namespace, options.image, 80, - int32(options.replicas), + int32(options.replicas), //nolint:gosec // disable G115 nil, nil, // Required to get hostname information []corev1.EnvVar{