Ignore G115 safe conversion int -> int32

Signed-off-by: Ricardo Lopes <ricardoapl.dev@gmail.com>
This commit is contained in:
Ricardo Lopes 2024-12-04 15:44:54 +00:00
parent e425baf734
commit 942aeefaa9

View file

@ -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{