chore: the argument is already a string, there's no need to use fmt.Sprintf
This commit is contained in:
parent
16c6c0ee13
commit
24f4b61fd9
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ func (rclone *rcloneMounter) Mount(target, volumeID string) error {
|
||||||
args := []string{
|
args := []string{
|
||||||
"mount",
|
"mount",
|
||||||
fmt.Sprintf(":s3:%s", path.Join(rclone.meta.BucketName, rclone.meta.Prefix)),
|
fmt.Sprintf(":s3:%s", path.Join(rclone.meta.BucketName, rclone.meta.Prefix)),
|
||||||
fmt.Sprintf("%s", target),
|
target,
|
||||||
"--daemon",
|
"--daemon",
|
||||||
"--s3-provider=AWS",
|
"--s3-provider=AWS",
|
||||||
"--s3-env-auth=true",
|
"--s3-env-auth=true",
|
||||||
|
|
Loading…
Reference in a new issue