Skip to content

Commit 28186b5

Browse files
committed
chore: address golangci
Signed-off-by: Matthias Riegler <[email protected]>
1 parent cc508ca commit 28186b5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

common/flagdproxy/flagdproxy_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ var (
4040
testImage = "image"
4141
testTag = "tag"
4242

43+
testEnvConfig = types.EnvConfig{
44+
PodNamespace: testNamespace,
45+
FlagdProxyImage: testImage,
46+
FlagdProxyTag: testTag,
47+
FlagdProxyPort: testPort,
48+
FlagdProxyManagementPort: testManagementPort,
49+
FlagdProxyReplicaCount: testReplicaCount,
50+
FlagdProxyDebugLogging: testDebugLogging,
51+
}
52+
4353
expectedDeploymentReplicas = int32(testReplicaCount)
4454
expectedDeployment = &appsv1.Deployment{
4555
TypeMeta: metav1.TypeMeta{
@@ -187,16 +197,6 @@ var (
187197
},
188198
},
189199
}
190-
191-
testEnvConfig = types.EnvConfig{
192-
PodNamespace: testNamespace,
193-
FlagdProxyImage: testImage,
194-
FlagdProxyTag: testTag,
195-
FlagdProxyPort: testPort,
196-
FlagdProxyManagementPort: testManagementPort,
197-
FlagdProxyReplicaCount: testReplicaCount,
198-
FlagdProxyDebugLogging: true,
199-
}
200200
)
201201

202202
func TestNewFlagdProxyConfiguration(t *testing.T) {

0 commit comments

Comments
 (0)