From 24f4b61fd986fa00c82d65f458cac23766e308d1 Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Tue, 5 Sep 2023 11:16:47 +0800 Subject: [PATCH] chore: the argument is already a string, there's no need to use fmt.Sprintf --- pkg/mounter/rclone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/mounter/rclone.go b/pkg/mounter/rclone.go index 6ec91c0..fd30c99 100644 --- a/pkg/mounter/rclone.go +++ b/pkg/mounter/rclone.go @@ -34,7 +34,7 @@ func (rclone *rcloneMounter) Mount(target, volumeID string) error { args := []string{ "mount", fmt.Sprintf(":s3:%s", path.Join(rclone.meta.BucketName, rclone.meta.Prefix)), - fmt.Sprintf("%s", target), + target, "--daemon", "--s3-provider=AWS", "--s3-env-auth=true",