-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#613 from axw/cmd-juju-upgradejuju-series
Various cleanups in upgrade-juju **cmd/juju: remove redundant code from upgrade-juju** - Ignore/obsolete "--series" as in "juju bootstrap". UploadTools now computes the series to send to the API server (for backwards compat), and the API server now computes the same. - Remove old backwards compat code. Also, change jujud/bootstrap to use new version.OSSupportedSeries. **state/apiserver: clone uploaded tools for supported series** Disregard additional series specified by client, and clone for all supported series of the same OS as the uploaded tools. **state/api: always "upload" all supported series** UploadTools no longer accepts a "fakeSeries" parameter; the client just sends all of the supported series of the same OS as the uploaded tools. This is to support old API servers. Also: return a generic error if status code is not 200. We no longer need to check the "method not supported" error specifically. **environs/tools: unexpose environs/tools.ToolsLtsSeries** **version: add OSSupportedSeries** OSSupportedSeries returns the supported series for the specified OS.
- Loading branch information
Showing
11 changed files
with
113 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.