mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
fix: --console-address when specified endpoints missing (#12534)
Additionally upgrade console dependency for reading environment variables properly.
This commit is contained in:
@@ -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