func CheckJujuMinVersion(toCheck semversion.Number, jujuVersion semversion.Number) (err error) {
	// It only makes sense to allow charms to specify they depend
	// on a released version of Juju. If this is a beta or rc version
	// of Juju, treat it like it's the released version to allow
	// charms to be tested prior to release.
	jujuVersion.Tag = ""
	jujuVersion.Build = 0
	if toCheck != semversion.Zero && toCheck.Compare(jujuVersion) > 0 {
		return minVersionError(toCheck, jujuVersion)
	}
	return nil
}
// CheckJujuMinVersion returns an error if the specified version to check is
// less than the current Juju version.
CheckJujuMinVersion returns an error if the specified version to check is
less than the current Juju version.
// CheckJujuMinVersion returns an error if the specified version to check is // less than the current Juju version .
func CheckJujuMinVersion(toCheck semversion.Number, jujuVersion semversion.Number) (err error) {
	jujuVersion.Tag = ""
	jujuVersion.Build = 0
	if toCheck != semversion.Zero && toCheck.Compare(jujuVersion) > 0 {
		return minVersionError(toCheck, jujuVersion)
	}
	return nil
}
func CheckJujuMinVersion ( toCheck semversion . Number , jujuVersion semversion . Number ) ( err error ) { jujuVersion . Tag = " " jujuVersion . Build = 0 if toCheck != semversion . Zero && toCheck . Compare ( jujuVersion ) > 0 { return minVersionError ( toCheck , jujuVersion ) } return nil }
CheckJujuMinVersion returns an error if the specified version to check is
less than the current Juju version.
CheckJujuMinVersion returns an error if the specified version to check is less than the current Juju version .
// It only makes sense to allow charms to specify they depend // on a released version of Juju. If this is a beta or rc version // of Juju, treat it like it's the released version to allow // charms to be tested prior to release.