mirror of https://github.com/databricks/cli.git
[DECO-396] Send delete file requests with recursive set to false
This commit is contained in:
parent
2ebfa5f369
commit
f216f55b18
|
@ -97,6 +97,7 @@ func getRemoteSyncCallback(ctx context.Context, root, remoteDir string, w *datab
|
||||||
remoteNameCopy := remoteName
|
remoteNameCopy := remoteName
|
||||||
g.Go(func() error {
|
g.Go(func() error {
|
||||||
err := deleteFile(ctx, path.Join(remoteDir, remoteNameCopy), w)
|
err := deleteFile(ctx, path.Join(remoteDir, remoteNameCopy), w)
|
||||||
|
err = deleteFile(ctx, path.Join(remoteDir, ""), w)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue