[server][core] Fix fs mount

This commit is contained in:
Abhishek Shroff
2025-06-30 00:21:50 +05:30
parent bd7d3f02d8
commit aac2cbba4f

View File

@@ -8,7 +8,7 @@ import (
)
func (f FileSystem) CreateMount(path string, backend storage.Backend) error {
r, err := f.ResourceByPath(path)
r, err := f.ResourceByPathWithRoot(path)
if err != nil {
fmt.Println("failed to locate resource: " + err.Error())
os.Exit(1)