Skip to content

Commit 0dd793f

Browse files
committed
pkg/cdi: expose [specs.]CurrentVersion.
Alias specs.CurrentVersion as pkg/cdi.CurrentVersion. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
1 parent 83dac4b commit 0dd793f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/cdi/spec.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ import (
3131
)
3232

3333
const (
34+
// CurrentVersion is the current vesion of the CDI Spec.
35+
CurrentVersion = cdi.CurrentVersion
36+
3437
// defaultSpecExt is the file extension for the default encoding.
3538
defaultSpecExt = ".yaml"
3639
)

0 commit comments

Comments
 (0)