Skip to content

Commit 330d3d8

Browse files
author
Dirk Petersen (aider)
committed
fix: Add --s3-no-check-bucket flag for Ceph provider
1 parent 85f2b9d commit 330d3d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

froster/froster.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5870,6 +5870,10 @@ def copy(self, src, dst, *args):
58705870
command.append(dst)
58715871
command.append('-vvv')
58725872

5873+
# Add flag for Ceph provider to avoid bucket creation attempt
5874+
if self.cfg.provider == 'Ceph':
5875+
command.append('--s3-no-check-bucket')
5876+
58735877
# Run the copy command and return if it was successful
58745878
return self._run_rclone_command(command)
58755879
except Exception:

0 commit comments

Comments
 (0)