From 89f2f84a0241422d3c430e2e67c3e4e21fbf4eb8 Mon Sep 17 00:00:00 2001 From: Scaat Feng Date: Thu, 26 Nov 2020 14:13:38 +0800 Subject: [PATCH] [FIX]error string should not be capitalized Signed-off-by: Scaat Feng --- pkg/plugin/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plugin/plugin.go b/pkg/plugin/plugin.go index 93b5527a1..4c1c98285 100644 --- a/pkg/plugin/plugin.go +++ b/pkg/plugin/plugin.go @@ -151,7 +151,7 @@ func (p *Plugin) PrepareCommand(extraArgs []string) (string, []string, error) { parts = strings.Split(os.ExpandEnv(p.Metadata.Command), " ") } if len(parts) == 0 || parts[0] == "" { - return "", nil, fmt.Errorf("No plugin command is applicable") + return "", nil, fmt.Errorf("no plugin command is applicable") } main := parts[0]