mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-09-19 00:34:16 +00:00
fix presigned urls
This commit is contained in:
+1
-4
@@ -114,10 +114,7 @@ func (s *HoldService) initS3Client() error {
|
||||
}
|
||||
|
||||
// Extract S3 configuration from storage parameters
|
||||
params, ok := s.config.Storage.Parameters()["s3"].(configuration.Parameters)
|
||||
if !ok {
|
||||
return fmt.Errorf("failed to get S3 parameters from storage config")
|
||||
}
|
||||
params := s.config.Storage.Parameters()
|
||||
|
||||
// Extract required S3 configuration
|
||||
region, _ := params["region"].(string)
|
||||
|
||||
Reference in New Issue
Block a user