From: Gabe Rosenhouse Date: Mon, 17 Oct 2016 00:18:57 +0000 (-0700) Subject: skel tests: correct name of CNI_CONTAINERID in tests of env vars X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=8be31e1c6f012a4d28800cc5d18fc34591961e22;p=cni.git skel tests: correct name of CNI_CONTAINERID in tests of env vars --- diff --git a/pkg/skel/skel_test.go b/pkg/skel/skel_test.go index cd668c9..6652fcd 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),