Implement NormalizeStorageBucketData and begin normalizing endpoint URLs (#32)

Co-authored-by: Danielle Miu <29378233+DanielleMiu@users.noreply.github.com>
Co-authored-by: Hugo <10965479+hugoghx@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-03-14 14:59:26 +00:00
1 parent 62abbad9d4
commit d72a6897e5
5 files changed
+226 -24

No files matched your search

+2 -2
View File
@@ -58,7 +58,7 @@ type options struct {
skipCleanup bool
}
func defaultOptions(t testing.TB) options {
func defaultOptions(_ testing.TB) options {
return options{
repository: defaultRepository,
version: defaultVersion,
@@ -139,7 +139,7 @@ func NewMinioServer(t testing.TB, inOpts ...Option) *MinioServer {
server := &MinioServer{
RootUsername: rootUsername,
RootPassword: rootPassword,
ApiAddr: fmt.Sprintf("localhost:%s", r.GetPort("9000/tcp")),
ApiAddr: fmt.Sprintf("[::1]:%s", r.GetPort("9000/tcp")),
}
// Ensure the instance is healthy.