Skip to content

Commit 48c7063

Browse files
committed
Remove mandatory /share prefix requirement for extreme nas
1 parent 707cc19 commit 48c7063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/nas/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func doMount(mounter mountutils.Interface, opt *Options, targetPath, volumeId, p
136136
}
137137

138138
rootPath := "/"
139-
if opt.FSType == "cpfs" || mountFstype == MountProtocolCPFSNFS || isExtrameNAS(opt.FSType, opt.Server) {
139+
if opt.FSType == "cpfs" || mountFstype == MountProtocolCPFSNFS {
140140
rootPath = "/share"
141141
}
142142
relPath, relErr := filepath.Rel(rootPath, opt.Path)

0 commit comments

Comments
 (0)