From f216f55b18b3e063123ddce1bd66269bf718ee5a Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Wed, 30 Nov 2022 13:51:04 +0100 Subject: [PATCH] [DECO-396] Send delete file requests with recursive set to false --- cmd/sync/watchdog.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/sync/watchdog.go b/cmd/sync/watchdog.go index 61b08906..26bc4cac 100644 --- a/cmd/sync/watchdog.go +++ b/cmd/sync/watchdog.go @@ -97,6 +97,7 @@ func getRemoteSyncCallback(ctx context.Context, root, remoteDir string, w *datab remoteNameCopy := remoteName g.Go(func() error { err := deleteFile(ctx, path.Join(remoteDir, remoteNameCopy), w) + err = deleteFile(ctx, path.Join(remoteDir, ""), w) if err != nil { return err }