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

Unified Diff: environs/manual/provisioner_test.go

Issue 53040043: ProvisioningScript client API
Patch Set: ProvisioningScript client API Created 11 years, 2 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 | « environs/manual/provisioner.go ('k') | state/api/client.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: environs/manual/provisioner_test.go
=== modified file 'environs/manual/provisioner_test.go'
--- environs/manual/provisioner_test.go 2014-01-09 09:39:56 +0000
+++ environs/manual/provisioner_test.go 2014-01-16 07:10:50 +0000
@@ -14,6 +14,7 @@
"launchpad.net/juju-core/juju/testing"
"launchpad.net/juju-core/state"
"launchpad.net/juju-core/state/api/params"
+ "launchpad.net/juju-core/state/statecmd"
jc "launchpad.net/juju-core/testing/checkers"
"launchpad.net/juju-core/version"
)
@@ -119,9 +120,9 @@
// Now check what we would've configured it with.
client := s.APIConn.State.Client()
- configParams, err := client.MachineConfig(machineId, series, arch)
+ configParams, err := client.MachineConfig(machineId)
c.Assert(err, gc.IsNil)
- mcfg, err := finishMachineConfig(configParams, machineId, state.BootstrapNonce, "/var/lib/juju")
+ mcfg, err := statecmd.FinishMachineConfig(configParams, machineId, state.BootstrapNonce, "/var/lib/juju")
c.Assert(err, gc.IsNil)
c.Check(mcfg, gc.NotNil)
c.Check(mcfg.APIInfo, gc.NotNil)
« no previous file with comments | « environs/manual/provisioner.go ('k') | state/api/client.go » ('j') | no next file with comments »

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