plugin/ipam: correct formatting of error message
This commit is contained in:
parent
b5db5d3075
commit
104e8b483e
@ -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. 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)
|
||||
if pluginPath == "" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user