Skip to content

Commit db17460

Browse files
fix tests
1 parent 82aaeb3 commit db17460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/server/smb/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func getRootMappingPath(path string) (string, error) {
3838
}
3939
if len(parts) != 2 {
4040
klog.Errorf("remote path (%s) is invalid", path)
41-
return nil, fmt.Errorf("remote path (%s) is invalid", path)
41+
return "", fmt.Errorf("remote path (%s) is invalid", path)
4242
}
4343
// parts[0] is a smb host name
4444
// parts[1] is a smb share name

0 commit comments

Comments
 (0)