aboutsummaryrefslogtreecommitdiff
path: root/pkg/driver/mounter.go
diff options
context:
space:
mode:
authorn9 <n9>2023-08-10 11:10:56 +0200
committerChris Lu <chrislusf@users.noreply.github.com>2023-08-10 06:51:06 -0700
commit609101d970f2243df169585967d237bac6d8f9a0 (patch)
tree947158b0a5b16203eb32ba0c2cad8f586b682a9e /pkg/driver/mounter.go
parent32560a9f185c8fb6fa8926781041b6c718c1720f (diff)
downloadseaweedfs-csi-driver-609101d970f2243df169585967d237bac6d8f9a0.tar.xz
seaweedfs-csi-driver-609101d970f2243df169585967d237bac6d8f9a0.zip
Fix: error strings should not be capitalized (ST1005)
Context: https://github.com/golang/go/wiki/CodeReviewComments#error-strings https://stackoverflow.com/a/68793833
Diffstat (limited to 'pkg/driver/mounter.go')
-rw-r--r--pkg/driver/mounter.go2
1 files changed, 1 insertions, 1 deletions
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{