mirror of https://github.com/databricks/cli.git
initialize dbfs client at root
This commit is contained in:
parent
08826094ce
commit
9160a6e9ed
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue