mirror of
https://github.com/versity/versitygw.git
synced 2026-04-18 19:55:02 +00:00
In the posix backend, the path argument to os.RemoveAll() does not start with the bucket name. Since the path does not exist, os.RemoveAll() does nothing and uploaded parts are left in the ".sgwtmp" directory. This commit prefixes the path with the bucket name. Fixes issue #626. Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>