From 654227f79c36871f5920f32c0c293c0a7ab28959 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Wed, 14 Feb 2018 21:14:10 -0500 Subject: [PATCH] api/vlabs: fix typos in tests Signed-off-by: Jess Frazelle --- pkg/api/vlabs/validate_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/api/vlabs/validate_test.go b/pkg/api/vlabs/validate_test.go index 9161a6e521..d336385c69 100644 --- a/pkg/api/vlabs/validate_test.go +++ b/pkg/api/vlabs/validate_test.go @@ -512,13 +512,13 @@ func Test_Properties_ValidateContainerRuntime(t *testing.T) { p.OrchestratorProfile = &OrchestratorProfile{} p.OrchestratorProfile.OrchestratorType = Kubernetes - for _, policy := range ContainerRuntimeValues { + for _, runtime := range ContainerRuntimeValues { p.OrchestratorProfile.KubernetesConfig = &KubernetesConfig{} - p.OrchestratorProfile.KubernetesConfig.NetworkPolicy = policy + p.OrchestratorProfile.KubernetesConfig.ContainerRuntime = runtime if err := p.validateContainerRuntime(); err != nil { t.Errorf( "should not error on containerRuntime=\"%s\"", - policy, + runtime, ) } }