Skip to content

Commit a3fe36b

Browse files
authored
Merge pull request #54 from slhad/master
Use NFS 4.1 recommended by EFS
2 parents 8604328 + 330cd08 commit a3fe36b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netshare/drivers/efs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func (e efsDriver) fixSource(r volume.Request) string {
128128
}
129129

130130
func (e efsDriver) mountVolume(source, dest string) error {
131-
cmd := fmt.Sprintf("mount -t nfs4 %s %s", source, dest)
131+
cmd := fmt.Sprintf("mount -t nfs4 -o nfsvers=4.1 %s %s", source, dest)
132132
log.Debugf("exec: %s\n", cmd)
133133
return run(cmd)
134134
}

0 commit comments

Comments
 (0)