From: Neil Wilson Date: Tue, 8 Sep 2015 03:20:11 +0000 (+0000) Subject: plugin/ipam: correct formatting of error message X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=2d0d4b35e1edd37f66c72699f2a3703eb3ec3b01;p=plugins.git plugin/ipam: correct formatting of error message --- diff --git a/pkg/plugin/ipam.go b/pkg/plugin/ipam.go index 8690b89..f304301 100644 --- 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. 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 == "" {