initialize dbfs client at root

This commit is contained in:
Shreyas Goenka 2023-06-05 15:15:21 +02:00
parent 08826094ce
commit 9160a6e9ed
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 2 additions and 2 deletions

View File

@ -49,12 +49,12 @@ var lsCmd = &cobra.Command{
return err
}
f, err := filer.NewDbfsClient(w, path)
f, err := filer.NewDbfsClient(w, "/")
if err != nil {
return err
}
entries, err := f.ReadDir(ctx, "")
entries, err := f.ReadDir(ctx, path)
if err != nil {
return err
}