~rogpeppe/juju-core/438-local-instance-Addresses

[r=fwereade],[bug=1234035] Fix upgrade 1.14 -> 1.15

This adds a Tools() API call to provisioner API,
similarly to the upgrader API. Common code factored
out into apiserver/common/tools.go.

SetAgentTools() renamed to SetAgentVersion() in
machine and unit state types. Also renamed a few
types in params to be shorter or better reflect
what are they about. Added DEPRECATE(v1.18) tags
to bits of the API that need cleanup.

Live tested on EC2 - after copying the tools from
/tools/releases/ to /tools/ the upgrade proceeds
and finishes successfully.

https://codereview.appspot.com/14231044/

R=fwereade, jameinel
Filename Latest Rev Last Changed Committer Comment Size
..
list.go 1814.2.4 11 years ago Dimiter Naydenov Fixed gocheck, checkers, imports 3.9 KB Diff Download File
list_test.go 1603.8.7 11 years ago Ian Booth Test tweaks 5.5 KB Diff Download File
marshal.go 1870.1.1 11 years ago Ian Booth When tools are unpacked, an error is raised if the 919 bytes Diff Download File
marshal_test.go 1870.1.1 11 years ago Ian Booth When tools are unpacked, an error is raised if the 1.4 KB Diff Download File
package_test.go 1603.8.7 11 years ago Ian Booth Test tweaks 210 bytes Diff Download File
tools.go 1870.1.1 11 years ago Ian Booth When tools are unpacked, an error is raised if the 573 bytes Diff Download File