aboutsummaryrefslogtreecommitdiff
path: root/pkg/driver/mounter.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2021-09-28 13:42:55 -0700
committerGitHub <noreply@github.com>2021-09-28 13:42:55 -0700
commit3683a0ae902c0a46bff36e027fa49250dfcbcb36 (patch)
treec9aa46efe5977d10c280d850044ed2d942707500 /pkg/driver/mounter.go
parent597e2c539cf5a87cae1d15be6951c0c8307ef675 (diff)
parent5c2298bd215959d78c881e5d48d96569b83ab3c7 (diff)
downloadseaweedfs-csi-driver-3683a0ae902c0a46bff36e027fa49250dfcbcb36.tar.xz
seaweedfs-csi-driver-3683a0ae902c0a46bff36e027fa49250dfcbcb36.zip
Merge pull request #33 from kvaster/static_mounts
Diffstat (limited to 'pkg/driver/mounter.go')
-rw-r--r--pkg/driver/mounter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/driver/mounter.go b/pkg/driver/mounter.go
index 5085b49..82da5f6 100644
--- a/pkg/driver/mounter.go
+++ b/pkg/driver/mounter.go
@@ -20,8 +20,8 @@ type Mounter interface {
Mount(target string) error
}
-func newMounter(bucketName string, driver *SeaweedFsDriver, volContext map[string]string) (Mounter, error) {
- return newSeaweedFsMounter(bucketName, driver, volContext)
+func newMounter(path string, collection string, readOnly bool, driver *SeaweedFsDriver, volContext map[string]string) (Mounter, error) {
+ return newSeaweedFsMounter(path, collection, readOnly, driver, volContext)
}
func fuseMount(path string, command string, args []string) error {