Skip to content

Commit

Permalink
add panic
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhar-rudder committed Jan 14, 2025
1 parent ad4fab8 commit b07c7f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions warehouse/router/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@ func (job *UploadJob) run() (err error) {
}
newStatus = nextUploadState.completed
if job.config.cleanupStorageFiles {
if true {
panic("cleanupStorageFiles is not implemented")
}
warehouse := job.warehouse
storageProvider := whutils.ObjectStorageType(warehouse.Destination.DestinationDefinition.Name, warehouse.Destination.Config, job.upload.UseRudderStorage)
fm, err := filemanager.New(&filemanager.Settings{Provider: storageProvider, Config: warehouse.Destination.Config})
Expand Down

0 comments on commit b07c7f6

Please sign in to comment.