func (e *ModelWatcher) ModelConfig() (*config.Config, error) {
	var result params.ModelConfigResult
	err := e.facade.FacadeCall("ModelConfig", nil, &result)
	if err != nil {
		return nil, errors.Trace(err)
	}
	conf, err := config.New(config.NoDefaults, result.Config)
	if err != nil {
		return nil, errors.Trace(err)
	}
	return conf, nil
}
// ModelConfig returns the current model configuration.
ModelConfig returns the current model configuration.
// ModelConfig returns the current model configuration .
func (e *ModelWatcher) ModelConfig() (*config.Config, error) {
	var result params.ModelConfigResult
	err := e.facade.FacadeCall("ModelConfig", nil, &result)
	if err != nil {
		return nil, errors.Trace(err)
	}
	conf, err := config.New(config.NoDefaults, result.Config)
	if err != nil {
		return nil, errors.Trace(err)
	}
	return conf, nil
}
func ( e * ModelWatcher ) ModelConfig ( ) ( * config . Config , error ) { var result params . ModelConfigResult err := e . facade . FacadeCall ( " " , nil , & result ) if err != nil { return nil , errors . Trace ( err ) } conf , err := config . New ( config . NoDefaults , result . Config ) if err != nil { return nil , errors . Trace ( err ) } return conf , nil }
ModelConfig returns the current model configuration.
ModelConfig returns the current model configuration .