func (c *Config) DefaultSeries() (string, bool) {
	s, ok := c.defined["default-series"]
	if !ok {
		return "", false
	}
	switch s := s.(type) {
	case string:
		return s, s != ""
	default:
		logger.Errorf("invalid default-series: %q", s)
		return "", false
	}
}
// DefaultSeries returns the configured default Ubuntu series for the model,
// and whether the default series was explicitly configured on the environment.
DefaultSeries returns the configured default Ubuntu series for the model,
and whether the default series was explicitly configured on the environment.
// DefaultSeries returns the configured default Ubuntu series for the model // and whether the default series was explicitly configured on the environment .
func (c *Config) DefaultSeries() (string, bool) {
	s, ok := c.defined["default-series"]
	if !ok {
		return "", false
	}
	switch s := s.(type) {
	case string:
		return s, s != ""
	default:
		logger.Errorf("invalid default-series: %q", s)
		return "", false
	}
}
func ( c * Config ) DefaultSeries ( ) ( string , bool ) { s , ok := c . defined [ " " ] if ! ok { return " " , false } switch s := s . ( type ) { case string : return s , s != " " default : logger . Errorf ( " " , s ) return " " , false } }
DefaultSeries returns the configured default Ubuntu series for the model,
and whether the default series was explicitly configured on the environment.
DefaultSeries returns the configured default Ubuntu series for the model and whether the default series was explicitly configured on the environment .