From fbf3535481659584f257d67514a314c25f4ec7cf Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Mon, 29 Aug 2022 13:25:56 +0300 Subject: [PATCH] pkg/cdi: expose [specs.]CurrentVersion. Alias specs.CurrentVersion as pkg/cdi.CurrentVersion. Signed-off-by: Krisztian Litkey --- pkg/cdi/spec.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/cdi/spec.go b/pkg/cdi/spec.go index afc5dc8..15d47ab 100644 --- a/pkg/cdi/spec.go +++ b/pkg/cdi/spec.go @@ -32,6 +32,9 @@ import ( ) const ( + // CurrentVersion is the current vesion of the CDI Spec. + CurrentVersion = cdi.CurrentVersion + // defaultSpecExt is the file extension for the default encoding. defaultSpecExt = ".yaml" )