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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
f, err := filer.NewDbfsClient(w, path)
|
f, err := filer.NewDbfsClient(w, "/")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
entries, err := f.ReadDir(ctx, "")
|
entries, err := f.ReadDir(ctx, path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue