getFsType fix
This commit is contained in:
parent
00d36083ba
commit
c684e9c28e
2
gcp
2
gcp
|
@ -129,7 +129,7 @@ class GCP():
|
||||||
def getFsType(self, path):
|
def getFsType(self, path):
|
||||||
fs=''
|
fs=''
|
||||||
for mount in self.mounts:
|
for mount in self.mounts:
|
||||||
if path.startswith(mount) and len(self.mounts[mount])>len(fs):
|
if path.startswith(mount) and len(self.mounts[mount])>=len(fs):
|
||||||
fs = self.mounts[mount]
|
fs = self.mounts[mount]
|
||||||
return fs
|
return fs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue