versioning: revert spec version to 0.2.0
This commit is contained in:
@ -64,7 +64,7 @@ func debugBehavior(args *skel.CmdArgs, command string) error {
|
||||
}
|
||||
|
||||
func debugGetSupportedVersions() []string {
|
||||
vers := []string{"0.-42.0", "0.1.0", "0.2.0", "0.3.0"}
|
||||
vers := []string{"0.-42.0", "0.1.0", "0.2.0"}
|
||||
cniArgs := os.Getenv("CNI_ARGS")
|
||||
if cniArgs == "" {
|
||||
return vers
|
||||
|
@ -131,7 +131,7 @@ var _ = Describe("No-op plugin", func() {
|
||||
Context("when the CNI_COMMAND is VERSION", func() {
|
||||
BeforeEach(func() {
|
||||
cmd.Env[0] = "CNI_COMMAND=VERSION"
|
||||
debug.ReportVersionSupport = []string{"0.123.0", "0.3.0"}
|
||||
debug.ReportVersionSupport = []string{"0.123.0", "0.2.0"}
|
||||
|
||||
Expect(debug.WriteDebug(debugFileName)).To(Succeed())
|
||||
})
|
||||
@ -144,7 +144,7 @@ var _ = Describe("No-op plugin", func() {
|
||||
pluginInfo, err := decoder.Decode(session.Out.Contents())
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(pluginInfo.SupportedVersions()).To(ConsistOf(
|
||||
"0.123.0", "0.3.0"))
|
||||
"0.123.0", "0.2.0"))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user