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

Unified Diff: state/api/agent/machine_test.go

Issue 61520045: Wire up prechecker
Patch Set: Wire up prechecker Created 11 years, 1 month 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 | « state/addmachine.go ('k') | state/apiserver/client/api_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: state/api/agent/machine_test.go
=== modified file 'state/api/agent/machine_test.go'
--- state/api/agent/machine_test.go 2013-11-05 10:25:28 +0000
+++ state/api/agent/machine_test.go 2014-02-19 06:31:52 +0000
@@ -9,6 +9,7 @@
gc "launchpad.net/gocheck"
+ "launchpad.net/juju-core/environs"
"launchpad.net/juju-core/errors"
"launchpad.net/juju-core/juju/testing"
"launchpad.net/juju-core/state"
@@ -83,7 +84,7 @@
}
func tryOpenState(info *state.Info) error {
- st, err := state.Open(info, state.DialOpts{})
+ st, err := state.Open(info, state.DialOpts{}, environs.NewStatePolicy())
if err == nil {
st.Close()
}
« no previous file with comments | « state/addmachine.go ('k') | state/apiserver/client/api_test.go » ('j') | no next file with comments »

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