Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(405)

Unified Diff: state/api/apiclient.go

Issue 8958043: Revert 1192 - API support for upgrade-charm (Closed)
Patch Set: Revert 1192 - API support for upgrade-charm Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cmd/juju/upgradecharm.go ('k') | state/api/params/params.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: state/api/apiclient.go
=== modified file 'state/api/apiclient.go'
--- state/api/apiclient.go 2013-04-24 15:21:18 +0000
+++ state/api/apiclient.go 2013-04-25 10:46:51 +0000
@@ -85,16 +85,6 @@
return &results, err
}
-// ServiceUpgradeCharm upgrades the service's charm to the latest available version in the repository.
-func (c *Client) ServiceUpgradeCharm(service string, force bool, repo string) error {
- params := params.ServiceUpgradeCharm{
- ServiceName: service,
- Force: force,
- RepoPath: repo,
- }
- return c.st.call("Client", "", "ServiceUpgradeCharm", params, nil)
-}
-
// AddRelation adds a relation between the specified endpoints and returns the relation info.
func (c *Client) AddRelation(endpoints ...string) (*params.AddRelationResults, error) {
var addRelRes params.AddRelationResults
« no previous file with comments | « cmd/juju/upgradecharm.go ('k') | state/api/params/params.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b