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

Unified Diff: cmd/plugins/juju-restore/restore.go

Issue 81570045: cleanup: fixing go vet warnings
Patch Set: cleanup: fixing go vet warnings Created 10 years 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 | « cmd/jujud/bootstrap.go ('k') | environs/imagemetadata/generate.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmd/plugins/juju-restore/restore.go
=== modified file 'cmd/plugins/juju-restore/restore.go'
--- cmd/plugins/juju-restore/restore.go 2014-03-21 14:28:36 +0000
+++ cmd/plugins/juju-restore/restore.go 2014-03-28 11:17:33 +0000
@@ -82,7 +82,7 @@
func (c *restoreCommand) SetFlags(f *gnuflag.FlagSet) {
c.EnvCommandBase.SetFlags(f)
- f.Var(constraints.ConstraintsValue{&c.Constraints}, "constraints", "set environment constraints")
+ f.Var(constraints.ConstraintsValue{Target: &c.Constraints}, "constraints", "set environment constraints")
f.BoolVar(&c.showDescription, "description", false, "show the purpose of this plugin")
c.Log.AddFlags(f)
}
« no previous file with comments | « cmd/jujud/bootstrap.go ('k') | environs/imagemetadata/generate.go » ('j') | no next file with comments »

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