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

Unified Diff: environs/config/config.go

Issue 93410043: Extract errors package to github.com/juju/errors
Patch Set: Created 9 years, 10 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
Index: environs/config/config.go
=== modified file 'environs/config/config.go'
--- environs/config/config.go 2014-05-09 13:24:50 +0000
+++ environs/config/config.go 2014-05-13 04:50:10 +0000
@@ -13,7 +13,7 @@
"strings"
"time"
- "github.com/errgo/errgo"
+ "github.com/juju/errors"
"github.com/juju/loggo"
"launchpad.net/juju-core/cert"
@@ -320,7 +320,7 @@
caKey, caKeyOK := cfg.CAPrivateKey()
if caCertOK || caKeyOK {
if err := verifyKeyPair(caCert, caKey); err != nil {
- return errgo.Annotate(err, "bad CA certificate/key in configuration")
+ return errors.Annotate(err, "bad CA certificate/key in configuration")
}
}
« no previous file with comments | « environs/config.go ('k') | environs/configstore/disk.go » ('j') | provider/openstack/storage.go » ('J')

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