From 8be31e1c6f012a4d28800cc5d18fc34591961e22 Mon Sep 17 00:00:00 2001 From: Gabe Rosenhouse Date: Sun, 16 Oct 2016 17:18:57 -0700 Subject: [PATCH] skel tests: correct name of CNI_CONTAINERID in tests of env vars --- pkg/skel/skel_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/skel/skel_test.go b/pkg/skel/skel_test.go index cd668c91..6652fcdb 100644 --- a/pkg/skel/skel_test.go +++ b/pkg/skel/skel_test.go @@ -121,7 +121,7 @@ var _ = Describe("dispatching to the correct callback", func() { DescribeTable("required / optional env vars", envVarChecker, Entry("command", "CNI_COMMAND", true), - Entry("container id", "CNI_CONTAINER_ID", false), + Entry("container id", "CNI_CONTAINERID", false), Entry("net ns", "CNI_NETNS", true), Entry("if name", "CNI_IFNAME", true), Entry("args", "CNI_ARGS", false), @@ -208,7 +208,7 @@ var _ = Describe("dispatching to the correct callback", func() { DescribeTable("required / optional env vars", envVarChecker, Entry("command", "CNI_COMMAND", true), - Entry("container id", "CNI_CONTAINER_ID", false), + Entry("container id", "CNI_CONTAINERID", false), Entry("net ns", "CNI_NETNS", false), Entry("if name", "CNI_IFNAME", true), Entry("args", "CNI_ARGS", false), @@ -241,7 +241,7 @@ var _ = Describe("dispatching to the correct callback", func() { DescribeTable("VERSION does not need the usual env vars", envVarChecker, Entry("command", "CNI_COMMAND", true), - Entry("container id", "CNI_CONTAINER_ID", false), + Entry("container id", "CNI_CONTAINERID", false), Entry("net ns", "CNI_NETNS", false), Entry("if name", "CNI_IFNAME", false), Entry("args", "CNI_ARGS", false),