Index: worker/provisioner/broker.go |
=== modified file 'worker/provisioner/broker.go' |
--- worker/provisioner/broker.go 2013-06-07 01:36:48 +0000 |
+++ worker/provisioner/broker.go 2013-06-14 01:02:53 +0000 |
@@ -5,7 +5,7 @@ |
import ( |
"launchpad.net/juju-core/constraints" |
- "launchpad.net/juju-core/environs" |
+ "launchpad.net/juju-core/instance" |
"launchpad.net/juju-core/state" |
"launchpad.net/juju-core/state/api" |
) |
@@ -17,11 +17,11 @@ |
// unique within an environment, is used by juju to protect against the |
// consequences of multiple instances being started with the same machine |
// id. |
- StartInstance(machineId, machineNonce string, series string, cons constraints.Value, info *state.Info, apiInfo *api.Info) (environs.Instance, error) |
+ StartInstance(machineId, machineNonce string, series string, cons constraints.Value, info *state.Info, apiInfo *api.Info) (instance.Instance, error) |
// StopInstances shuts down the given instances. |
- StopInstances([]environs.Instance) error |
+ StopInstances([]instance.Instance) error |
// AllInstances returns all instances currently known to the broker. |
- AllInstances() ([]environs.Instance, error) |
+ AllInstances() ([]instance.Instance, error) |
} |