Correct error formatting

Errors should not start with an uppercase letter.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd) 2021-09-15 15:52:13 +01:00
parent 13412841aa
commit 13f4a487ce

View File

@ -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