launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #15459
[Merge] lp:~rvb/juju-core/fwreade-22 into lp:~maas-maintainers/juju-core/maas-provider-skeleton
Raphaël Badin has proposed merging lp:~rvb/juju-core/fwreade-22 into lp:~maas-maintainers/juju-core/maas-provider-skeleton.
Commit message:
Get rid of unused method fakeWriteCertAndKey().
Requested reviews:
MAAS Maintainers (maas-maintainers)
For more details, see:
https://code.launchpad.net/~rvb/juju-core/fwreade-22/+merge/158343
fwreade 22.
--
https://code.launchpad.net/~rvb/juju-core/fwreade-22/+merge/158343
Your team MAAS Maintainers is requested to review the proposed merge of lp:~rvb/juju-core/fwreade-22 into lp:~maas-maintainers/juju-core/maas-provider-skeleton.
=== modified file 'environs/maas/environ_test.go'
--- environs/maas/environ_test.go 2013-04-11 10:33:21 +0000
+++ environs/maas/environ_test.go 2013-04-11 12:07:24 +0000
@@ -2,7 +2,6 @@
import (
"encoding/base64"
- "fmt"
. "launchpad.net/gocheck"
"launchpad.net/gomaasapi"
"launchpad.net/goyaml"
@@ -188,12 +187,6 @@
c.Check(storage, Equals, environs.EmptyStorage)
}
-// fakeWriteCertAndKey is a stub for the writeCertAndKey to Bootstrap() that
-// always returns an error. It should never be called.
-func fakeWriteCertAndKey(name string, cert, key []byte) error {
- return fmt.Errorf("unexpected call to writeCertAndKey")
-}
-
func decodeUserData(userData string) ([]byte, error) {
data, err := base64.StdEncoding.DecodeString(userData)
if err != nil {