Skip to content

Commit

Permalink
pkg/cdi: expose [specs.]CurrentVersion.
Browse files Browse the repository at this point in the history
Alias specs.CurrentVersion as pkg/cdi.CurrentVersion.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
  • Loading branch information
klihub committed Sep 27, 2022
1 parent 8010028 commit fbf3535
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/cdi/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit fbf3535

Please sign in to comment.