From 3adb1659b3e36a9a4c568ad03d6ef3f854e1eb04 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Thu, 15 Feb 2018 11:50:32 -0500 Subject: [PATCH] api/vlabs: fix typos in tests (#2280) 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, ) } }