git://git.halfball.org
/
cni.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8462a3f
)
plugin/ipam: correct formatting of error message
author
Neil Wilson
<neil@aldur.co.uk>
Tue, 8 Sep 2015 03:20:11 +0000
(
03:20
+0000)
committer
Neil Wilson
<neil@aldur.co.uk>
Tue, 8 Sep 2015 18:08:15 +0000
(18:08 +0000)
pkg/plugin/ipam.go
patch
|
blob
|
history
diff --git
a/pkg/plugin/ipam.go
b/pkg/plugin/ipam.go
index
8690b89
..
f304301
100644
(file)
--- a/
pkg/plugin/ipam.go
+++ b/
pkg/plugin/ipam.go
@@
-64,8
+64,8
@@
func ExecAdd(plugin string, netconf []byte) (*Result, error) {
return nil, fmt.Errorf("CNI_COMMAND is not ADD")
}
if plugin == "" {
- return nil, fmt.Errorf(`
Name of IPAM plugin is missing. S
pecify a "type" field in the "ipam" section`)
-
}
+ return nil, fmt.Errorf(`
name of IPAM plugin is missing. Please s
pecify a "type" field in the "ipam" section`)
+ }
pluginPath := Find(plugin)
if pluginPath == "" {