move links for cri-containerd to cri

Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
Mike Brown
2018-03-13 17:06:26 -05:00
parent 135f667963
commit d4e7154625
72 changed files with 171 additions and 171 deletions

View File

@@ -22,18 +22,18 @@ import (
"github.com/blang/semver"
)
// CRIContainerdVersion is the version of the cri-containerd.
// CRIContainerdVersion is the version of the cri plugin.
var CRIContainerdVersion = "UNKNOWN"
func validateSemver(sv string) error {
_, err := semver.Parse(sv)
if err != nil {
return fmt.Errorf("couldn't parse cri-containerd version %q: %v", sv, err)
return fmt.Errorf("couldn't parse version %q: %v", sv, err)
}
return nil
}
// PrintVersion outputs the release version of cri-containerd
// PrintVersion outputs the release version of containerd/cri
func PrintVersion() {
err := validateSemver(CRIContainerdVersion)
if err != nil {