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

Unified Diff: environs/tools.go

Issue 11561044: Make agent/tools and remove state.Tools
Patch Set: Created 11 years, 7 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
Index: environs/tools.go
=== modified file 'environs/tools.go'
--- environs/tools.go 2013-07-13 13:14:11 +0000
+++ environs/tools.go 2013-07-22 03:46:45 +0000
@@ -6,11 +6,10 @@
import (
"fmt"
+ "launchpad.net/juju-core/agent/tools"
"launchpad.net/juju-core/constraints"
- "launchpad.net/juju-core/environs/tools"
"launchpad.net/juju-core/errors"
"launchpad.net/juju-core/log"
- "launchpad.net/juju-core/state"
"launchpad.net/juju-core/version"
)
@@ -120,7 +119,7 @@
// TODO(fwereade) this should not exist: it's used by cmd/jujud/Upgrader,
// which needs to run on every agent and must absolutely *not* in general
// have access to an Environ.
-func FindExactTools(environ Environ, vers version.Binary) (t *state.Tools, err error) {
+func FindExactTools(environ Environ, vers version.Binary) (t *tools.Tools, err error) {
defer convertToolsError(&err)
list, err := FindAvailableTools(environ, vers.Major)
if err != nil {

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