From 609101d970f2243df169585967d237bac6d8f9a0 Mon Sep 17 00:00:00 2001 From: n9 Date: Thu, 10 Aug 2023 11:10:56 +0200 Subject: Fix: error strings should not be capitalized (ST1005) Context: https://github.com/golang/go/wiki/CodeReviewComments#error-strings https://stackoverflow.com/a/68793833 --- pkg/driver/mounter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/driver/mounter.go') diff --git a/pkg/driver/mounter.go b/pkg/driver/mounter.go index 2e51314..756f671 100644 --- a/pkg/driver/mounter.go +++ b/pkg/driver/mounter.go @@ -59,7 +59,7 @@ func fuseMount(path string, command string, args []string) (Unmounter, error) { err := cmd.Start() if err != nil { glog.Errorf("running weed mount: %v", err) - return nil, fmt.Errorf("Error fuseMount command: %s\nargs: %s\nerror: %v", command, args, err) + return nil, fmt.Errorf("error fuseMount command: %s\nargs: %s\nerror: %v", command, args, err) } fu := &fuseUnmounter{ -- cgit v1.2.3