func (c *Client) GetCharmURL(branchName, applicationName string) (*charm.URL, error) {
	result := new(params.StringResult)
	args := params.ApplicationGet{
		ApplicationName: applicationName,
		BranchName:      branchName,
	}
	err := c.facade.FacadeCall("GetCharmURL", args, result)
	if err != nil {
		return nil, errors.Trace(err)
	}
	if result.Error != nil {
		return nil, errors.Trace(result.Error)
	}
	return charm.ParseURL(result.Result)
}
// GetCharmURL returns the charm URL the given application is
// running at present.
GetCharmURL returns the charm URL the given application is
running at present.
// GetCharmURL returns the charm URL the given application is // running at present .
func (c *Client) GetCharmURL(branchName, applicationName string) (*charm.URL, error) {
	result := new(params.StringResult)
	args := params.ApplicationGet{
		ApplicationName: applicationName,
		BranchName:      branchName,
	}
	err := c.facade.FacadeCall("GetCharmURL", args, result)
	if err != nil {
		return nil, errors.Trace(err)
	}
	if result.Error != nil {
		return nil, errors.Trace(result.Error)
	}
	return charm.ParseURL(result.Result)
}
func ( c * Client ) GetCharmURL ( branchName , applicationName string ) ( * charm . URL , error ) { result := new ( params . StringResult ) args := params . ApplicationGet { ApplicationName : applicationName , BranchName : branchName , } err := c . facade . FacadeCall ( " " , args , result ) if err != nil { return nil , errors . Trace ( err ) } if result . Error != nil { return nil , errors . Trace ( result . Error ) } return charm . ParseURL ( result . Result ) }
GetCharmURL returns the charm URL the given application is
running at present.
GetCharmURL returns the charm URL the given application is running at present .