|
|
@ -20,7 +20,6 @@ import ( |
|
|
|
"crypto/x509" |
|
|
|
"crypto/x509" |
|
|
|
"fmt" |
|
|
|
"fmt" |
|
|
|
"os" |
|
|
|
"os" |
|
|
|
"runtime" |
|
|
|
|
|
|
|
"time" |
|
|
|
"time" |
|
|
|
|
|
|
|
|
|
|
|
isatty "github.com/mattn/go-isatty" |
|
|
|
isatty "github.com/mattn/go-isatty" |
|
|
@ -162,9 +161,6 @@ var ( |
|
|
|
// File to log HTTP request/response headers and body.
|
|
|
|
// File to log HTTP request/response headers and body.
|
|
|
|
globalHTTPTraceFile *os.File |
|
|
|
globalHTTPTraceFile *os.File |
|
|
|
|
|
|
|
|
|
|
|
// Minio server user agent string.
|
|
|
|
|
|
|
|
globalServerUserAgent = "Minio/" + ReleaseTag + " (" + runtime.GOOS + "; " + runtime.GOARCH + ")" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
globalEndpoints EndpointList |
|
|
|
globalEndpoints EndpointList |
|
|
|
|
|
|
|
|
|
|
|
// Global server's network statistics
|
|
|
|
// Global server's network statistics
|
|
|
@ -358,7 +354,6 @@ func getGlobalInfo() (globalInfo map[string]interface{}) { |
|
|
|
"isEnvRegion": globalIsEnvRegion, |
|
|
|
"isEnvRegion": globalIsEnvRegion, |
|
|
|
"isSSL": globalIsSSL, |
|
|
|
"isSSL": globalIsSSL, |
|
|
|
"serverRegion": globalServerRegion, |
|
|
|
"serverRegion": globalServerRegion, |
|
|
|
"serverUserAgent": globalServerUserAgent, |
|
|
|
|
|
|
|
// Add more relevant global settings here.
|
|
|
|
// Add more relevant global settings here.
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|