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

Unified Diff: environs/config.go

Issue 6587085: environs/config: add admin-secret attribute
Patch Set: environs/config: add admin-secret attribute Created 12 years, 6 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 | « [revision details] ('k') | environs/config/config.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: environs/config.go
=== modified file 'environs/config.go'
--- environs/config.go 2012-08-30 13:36:30 +0000
+++ environs/config.go 2012-10-04 14:48:17 +0000
@@ -154,6 +154,8 @@
for k, _ := range secrets {
delete(m, k)
}
+ // We never want to push admin-secret to the cloud.
+ delete(m, "admin-secret")
m["agent-version"] = tools.Number.String()
return config.New(m)
}
« no previous file with comments | « [revision details] ('k') | environs/config/config.go » ('j') | no next file with comments »

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