plugin/ipam: correct formatting of error message

This commit is contained in:
Neil Wilson 2015-09-08 03:20:11 +00:00
parent 8462a3f607
commit 2d0d4b35e1

View File

@ -64,7 +64,7 @@ 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. Specify a "type" field in the "ipam" section`)
return nil, fmt.Errorf(`name of IPAM plugin is missing. Please specify a "type" field in the "ipam" section`)
}
pluginPath := Find(plugin)