diff --git a/libs/filer/local_client.go b/libs/filer/local_client.go index 14d916155..6e0897a03 100644 --- a/libs/filer/local_client.go +++ b/libs/filer/local_client.go @@ -19,7 +19,7 @@ type LocalClient struct { func NewLocalClient(root string) (Filer, error) { if runtime.GOOS == "windows" { - return &LocalClient{root: WindowsRootPath{root}}, nil + return &LocalClient{root: NewWindowsRootPath("/")}, nil } return &LocalClient{ root: NewUnixRootPath(root),