mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03:00
fix: --console-address when specified endpoints missing (#12534)
Additionally upgrade console dependency for reading environment variables properly.
This commit is contained in:
+4
-4
@@ -118,8 +118,6 @@ const (
|
||||
var globalCLIContext = struct {
|
||||
JSON, Quiet bool
|
||||
Anonymous bool
|
||||
Addr string
|
||||
ConsoleAddr string
|
||||
StrictS3Compat bool
|
||||
}{}
|
||||
|
||||
@@ -139,6 +137,9 @@ var (
|
||||
// This flag is set to 'true' by default
|
||||
globalBrowserEnabled = true
|
||||
|
||||
// This flag is set to 'true' by default.
|
||||
globalBrowserRedirect = true
|
||||
|
||||
// This flag is set to 'true' when MINIO_UPDATE env is set to 'off'. Default is false.
|
||||
globalInplaceUpdateDisabled = false
|
||||
|
||||
@@ -146,8 +147,7 @@ var (
|
||||
globalServerRegion = globalMinioDefaultRegion
|
||||
|
||||
// MinIO local server address (in `host:port` format)
|
||||
globalMinioAddr = ""
|
||||
globalMinioConsoleAddr = ""
|
||||
globalMinioAddr = ""
|
||||
|
||||
// MinIO default port, can be changed through command line.
|
||||
globalMinioPort = GlobalMinioDefaultPort
|
||||
|
||||
Reference in New Issue
Block a user