We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82aaeb3 commit db17460Copy full SHA for db17460
pkg/server/smb/server.go
@@ -38,7 +38,7 @@ func getRootMappingPath(path string) (string, error) {
38
}
39
if len(parts) != 2 {
40
klog.Errorf("remote path (%s) is invalid", path)
41
- return nil, fmt.Errorf("remote path (%s) is invalid", path)
+ return "", fmt.Errorf("remote path (%s) is invalid", path)
42
43
// parts[0] is a smb host name
44
// parts[1] is a smb share name
0 commit comments