mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
fix: --console-address when specified endpoints missing (#12534)
Additionally upgrade console dependency for reading environment variables properly.
This commit is contained in:
+2
-2
@@ -156,9 +156,9 @@ func TestGetHostIP(t *testing.T) {
|
||||
|
||||
// Tests finalize api endpoints.
|
||||
func TestGetAPIEndpoints(t *testing.T) {
|
||||
host, port := globalMinioHost, globalMinioAddr
|
||||
host, port := globalMinioHost, globalMinioPort
|
||||
defer func() {
|
||||
globalMinioHost, globalMinioAddr = host, port
|
||||
globalMinioHost, globalMinioPort = host, port
|
||||
}()
|
||||
testCases := []struct {
|
||||
host, port string
|
||||
|
||||
Reference in New Issue
Block a user