Skip to content

Commit

Permalink
api/vlabs: fix typos in tests (Azure#2280)
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz authored and Terje Torkelsen committed Mar 15, 2018
1 parent d6b0611 commit 3adb165
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/api/vlabs/validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
}
}
Expand Down

0 comments on commit 3adb165

Please sign in to comment.