chore: the argument is already a string, there's no need to use fmt.Sprintf

This commit is contained in:
guoguangwu 2023-09-05 11:16:47 +08:00
parent 16c6c0ee13
commit 24f4b61fd9

View file

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