Skip to content

Commit 942aeef

Browse files
committed
Ignore G115 safe conversion int -> int32
Signed-off-by: Ricardo Lopes <ricardoapl.dev@gmail.com>
1 parent e425baf commit 942aeef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/framework/deployment.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func (f *Framework) NewCustomErrorPagesDeployment(opts ...func(*deploymentOption
139139
options.namespace,
140140
options.image,
141141
8080,
142-
int32(options.replicas),
142+
int32(options.replicas), //nolint:gosec // disable G115
143143
nil, nil,
144144
envVars,
145145
[]corev1.VolumeMount{},
@@ -195,7 +195,7 @@ func (f *Framework) NewEchoDeployment(opts ...func(*deploymentOptions)) {
195195
options.namespace,
196196
options.image,
197197
80,
198-
int32(options.replicas),
198+
int32(options.replicas), //nolint:gosec // disable G115
199199
nil, nil, nil,
200200
[]corev1.VolumeMount{},
201201
[]corev1.Volume{},
@@ -286,7 +286,7 @@ func (f *Framework) NewHttpbunDeployment(opts ...func(*deploymentOptions)) strin
286286
options.namespace,
287287
options.image,
288288
80,
289-
int32(options.replicas),
289+
int32(options.replicas), //nolint:gosec // disable G115
290290
nil, nil,
291291
// Required to get hostname information
292292
[]corev1.EnvVar{

0 commit comments

Comments
 (0)