func validateVersion(supported, current string) bool {
	if supported == "" {
		return true
	}
	vSupported, err := goVersion.NewVersion(supported)
	if err != nil {
		return false
	}
	vCurrent, err := goVersion.NewVersion(current)
	if err != nil {
		return false
	}
	return vCurrent.Compare(vSupported) >= 0
}
func validateVersion(supported, current string) bool {
	if supported == "" {
		return true
	}
	vSupported, err := goVersion.NewVersion(supported)
	if err != nil {
		return false
	}
	vCurrent, err := goVersion.NewVersion(current)
	if err != nil {
		return false
	}
	return vCurrent.Compare(vSupported) >= 0
}
func validateVersion ( supported , current string ) bool { if supported == " " { return true } vSupported , err := goVersion . NewVersion ( supported ) if err != nil { return false } vCurrent , err := goVersion . NewVersion ( current ) if err != nil { return false } return vCurrent . Compare ( vSupported ) >= 0 }
// validateVersion checks whether current version is greater or equal to
// supported version.
validateVersion checks whether current version is greater or equal to supported version .