From 9160a6e9ed2566b0b4d36a5388f0f70563509173 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 5 Jun 2023 15:15:21 +0200 Subject: [PATCH] initialize dbfs client at root --- cmd/fs/ls.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/fs/ls.go b/cmd/fs/ls.go index 85e3ffdfa..200cbed52 100644 --- a/cmd/fs/ls.go +++ b/cmd/fs/ls.go @@ -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 }