Don't call os.Setenv()
This commit is contained in:
parent
4e410df6e1
commit
8ea6111b0d
4 changed files with 14 additions and 8 deletions
pkg/mounter
|
@ -44,7 +44,7 @@ func (s3fs *s3fsMounter) Mount(target, volumeID string) error {
|
|||
args = append(args, "-o", fmt.Sprintf("endpoint=%s", s3fs.region))
|
||||
}
|
||||
args = append(args, s3fs.meta.MountOptions...)
|
||||
return fuseMount(target, s3fsCmd, args)
|
||||
return fuseMount(target, s3fsCmd, args, nil)
|
||||
}
|
||||
|
||||
func writes3fsPass(pwFileContent string) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue