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

Unified Diff: environs/ec2/local_test.go

Issue 6855054: state: add CACert to Info.
Patch Set: state: add CACert to Info. Created 12 years, 4 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/ec2/live_test.go ('k') | environs/interface.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: environs/ec2/local_test.go
=== modified file 'environs/ec2/local_test.go'
--- environs/ec2/local_test.go 2012-11-26 16:30:30 +0000
+++ environs/ec2/local_test.go 2012-11-27 09:19:59 +0000
@@ -34,8 +34,8 @@
"access-key": "x",
"secret-key": "x",
"authorized-keys": "foo",
- "ca-cert": testing.CACertPEM,
- "ca-private-key": testing.CAKeyPEM,
+ "ca-cert": testing.CACert,
+ "ca-private-key": testing.CAKey,
}
Suite(&localServerSuite{
@@ -196,7 +196,7 @@
policy := t.env.AssignmentPolicy()
c.Assert(policy, Equals, state.AssignUnused)
- err := environs.Bootstrap(t.env, true, []byte(testing.CACertPEM+testing.CAKeyPEM))
+ err := environs.Bootstrap(t.env, true, []byte(testing.CACert+testing.CAKey))
c.Assert(err, IsNil)
// check that the state holds the id of the bootstrap machine.
« no previous file with comments | « environs/ec2/live_test.go ('k') | environs/interface.go » ('j') | no next file with comments »

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