From 7ee212504ddb227660a9f8942eebec54c200c5e6 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Mon, 11 Apr 2016 11:17:52 -0400 Subject: [PATCH] Add support for volume scopes This is similar to network scopes where a volume can either be `local` or `global`. A `global` volume is one that exists across the entire cluster where as a `local` volume exists on a single engine. Signed-off-by: Brian Goff --- plugins/pluginrpc-gen/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pluginrpc-gen/main.go b/plugins/pluginrpc-gen/main.go index 402044c..e77a7d4 100644 --- a/plugins/pluginrpc-gen/main.go +++ b/plugins/pluginrpc-gen/main.go @@ -78,7 +78,7 @@ func main() { errorOut("parser error", generatedTempl.Execute(&buf, analysis)) src, err := format.Source(buf.Bytes()) - errorOut("error formating generated source:\n"+buf.String(), err) + errorOut("error formatting generated source:\n"+buf.String(), err) errorOut("error writing file", ioutil.WriteFile(*outputFile, src, 0644)) }