johannesboyne / gofakes3

A simple fake AWS S3 object storage (used for local test-runs against AWS S3 APIs)
MIT License
358 stars 81 forks source link

Avoid error when execute 'mc cp' on single bucket backend. #74

Closed ideal closed 1 year ago

ideal commented 1 year ago

e.g. use /tmp/fakes3 as fs path, /tmp/fakes3_meta as meta path, bucket name 'mybucket':

GET /mybucket/?object-lock= HTTP/1.1 Host: localhost:8020 User-Agent: MinIO (darwin; arm64) minio-go/v7.0.44 mc/RELEASE.2022-12-13T00-23-28Z Accept-Encoding: gzip Returned: HTTP/1.1 500 Internal Server Error
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication