From 13f4a487ce5e0f3a5f14801beed82306db5250ad Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Wed, 15 Sep 2021 15:52:13 +0100 Subject: [PATCH] Correct error formatting Errors should not start with an uppercase letter. Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- pkg/provider/handlers/deploy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/provider/handlers/deploy.go b/pkg/provider/handlers/deploy.go index 7587c4d..e8cd585 100644 --- a/pkg/provider/handlers/deploy.go +++ b/pkg/provider/handlers/deploy.go @@ -126,7 +126,7 @@ func deploy(ctx context.Context, req types.FunctionDeployment, client *container labels, err := buildLabels(&req) if err != nil { - return fmt.Errorf("Unable to apply labels to container: %s, error: %s", name, err) + return fmt.Errorf("unable to apply labels to container: %s, error: %s", name, err) } var memory *specs.LinuxMemory