func (s *Storage) GetConfig(name string) (common.ResourcesConfig, error) {
	i, err := s.configs.Get(name)
	if err != nil {
		return common.ResourcesConfig{}, err
	}
	var conf common.ResourcesConfig
	conf, err = common.ItemToResourcesConfig(i)
	if err != nil {
		return common.ResourcesConfig{}, err
	}
	return conf, nil
}
func (s *Storage) GetConfig(name string) (common.ResourcesConfig, error) {
	i, err := s.configs.Get(name)
	if err != nil {
		return common.ResourcesConfig{}, err
	}
	var conf common.ResourcesConfig
	conf, err = common.ItemToResourcesConfig(i)
	if err != nil {
		return common.ResourcesConfig{}, err
	}
	return conf, nil
}
func ( s * Storage ) GetConfig ( name string ) ( common . ResourcesConfig , error ) { i , err := s . configs . Get ( name ) if err != nil { return common . ResourcesConfig { } , err } var conf common . ResourcesConfig conf , err = common . ItemToResourcesConfig ( i ) if err != nil { return common . ResourcesConfig { } , err } return conf , nil }
// GetConfig returns an existing if it exists errors out otherwise
GetConfig returns an existing if it exists errors out otherwise