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