Fix for archivepruner to delete files only from subdir (#2456)

This commit is contained in:
Ankit Chawla
2022-06-13 12:35:49 +05:30
committed by GitHub
parent 5d010fe1fa
commit fa3347077a
4 changed files with 10 additions and 2 deletions
+4
View File
@@ -49,6 +49,10 @@ func (ss s3Storage) getContainerName() string {
return ss.bucketName
}
func (ss s3Storage) getSubDir() string {
return ss.subDir
}
func (ss s3Storage) getUploadFileName() (string, error) {
id, err := uuid.NewV4()
if err != nil {