func PreferredSeries(cfg HasDefaultSeries) string {
	if series, ok := cfg.DefaultSeries(); ok {
		return series
	}
	return GetDefaultSupportedLTS()
}
// PreferredSeries returns the preferred series to use when a charm does not
// explicitly specify a series.
PreferredSeries returns the preferred series to use when a charm does not
explicitly specify a series.
// PreferredSeries returns the preferred series to use when a charm does not // explicitly specify a series .
func PreferredSeries(cfg HasDefaultSeries) string {
	if series, ok := cfg.DefaultSeries(); ok {
		return series
	}
	return GetDefaultSupportedLTS()
}
func PreferredSeries ( cfg HasDefaultSeries ) string { if series , ok := cfg . DefaultSeries ( ) ; ok { return series } return GetDefaultSupportedLTS ( ) }
PreferredSeries returns the preferred series to use when a charm does not
explicitly specify a series.
PreferredSeries returns the preferred series to use when a charm does not explicitly specify a series .