func DownloadFromCharmStore(logger loggo.Logger, repository DownloadRepo, url string, force bool) (*Strategy, error) {
	curl, err := charm.ParseURL(url)
	if err != nil {
		return nil, errors.Trace(err)
	}
	log := &loggerShim{logger}
	return &Strategy{
		charmURL: curl,
		store: StoreCharmStore{
			repository: repository,
			logger:     log.Child("charmstore"),
		},
		force:  force,
		logger: log,
	}, nil
}
// DownloadFromCharmStore will creates a procedure to install a charm from the
// charm store.  Deprecated in juju 2.9, removed in 3.0
DownloadFromCharmStore will creates a procedure to install a charm from the
charm store.  Deprecated in juju 2.9, removed in 3.0
// DownloadFromCharmStore will creates a procedure to install a charm from the // charm store . Deprecated in juju 2 . 9 removed in 3 . 0
func DownloadFromCharmStore(logger loggo.Logger, repository DownloadRepo, url string, force bool) (*Strategy, error) {
	curl, err := charm.ParseURL(url)
	if err != nil {
		return nil, errors.Trace(err)
	}
	log := &loggerShim{logger}
	return &Strategy{
		charmURL: curl,
		store: StoreCharmStore{
			repository: repository,
			logger:     log.Child("charmstore"),
		},
		force:  force,
		logger: log,
	}, nil
}
func DownloadFromCharmStore ( logger loggo . Logger , repository DownloadRepo , url string , force bool ) ( * Strategy , error ) { curl , err := charm . ParseURL ( url ) if err != nil { return nil , errors . Trace ( err ) } log := & loggerShim { logger } return & Strategy { charmURL : curl , store : StoreCharmStore { repository : repository , logger : log . Child ( " " ) , } , force : force , logger : log , } , nil }
DownloadFromCharmStore will creates a procedure to install a charm from the
charm store.
DownloadFromCharmStore will creates a procedure to install a charm from the charm store .