Skip to content

Commit d5202c8

Browse files
committed
add random envvars
1 parent b29f168 commit d5202c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/simulator/resources/resources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func NewFakePod(name, namespace string, randomEnvVars bool) *corev1.Pod {
236236
// newPodSpec creates a new pod spec.
237237
// If randomEnvVars is true, a random envvar slice will be used, otherwise the default (large) envvar slice will be used.
238238
func newPodSpec(randomEnvVars bool) corev1.PodSpec {
239-
envVars := DefaultEnvVarsType
239+
envVars := GetRandomEnvVarType(5)
240240
if randomEnvVars {
241241
envVars = getRandomEnvVarType()
242242
}

0 commit comments

Comments
 (0)