mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
parent
570670be8c
commit
186c477f3c
@ -531,19 +531,6 @@ func serverMain(ctx *cli.Context) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if globalBrowserEnabled {
|
|
||||||
srv, err := initConsoleServer()
|
|
||||||
if err != nil {
|
|
||||||
logger.FatalIf(err, "Unable to initialize console service")
|
|
||||||
}
|
|
||||||
|
|
||||||
setConsoleSrv(srv)
|
|
||||||
|
|
||||||
go func() {
|
|
||||||
logger.FatalIf(newConsoleServerFn().Serve(), "Unable to initialize console server")
|
|
||||||
}()
|
|
||||||
}
|
|
||||||
|
|
||||||
newObject, err := newObjectLayer(GlobalContext, globalEndpoints)
|
newObject, err := newObjectLayer(GlobalContext, globalEndpoints)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logFatalErrs(err, Endpoint{}, true)
|
logFatalErrs(err, Endpoint{}, true)
|
||||||
@ -576,6 +563,19 @@ func serverMain(ctx *cli.Context) {
|
|||||||
logger.LogIf(GlobalContext, err)
|
logger.LogIf(GlobalContext, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if globalBrowserEnabled {
|
||||||
|
srv, err := initConsoleServer()
|
||||||
|
if err != nil {
|
||||||
|
logger.FatalIf(err, "Unable to initialize console service")
|
||||||
|
}
|
||||||
|
|
||||||
|
setConsoleSrv(srv)
|
||||||
|
|
||||||
|
go func() {
|
||||||
|
logger.FatalIf(newConsoleServerFn().Serve(), "Unable to initialize console server")
|
||||||
|
}()
|
||||||
|
}
|
||||||
|
|
||||||
// Populate existing buckets to the etcd backend
|
// Populate existing buckets to the etcd backend
|
||||||
if globalDNSConfig != nil {
|
if globalDNSConfig != nil {
|
||||||
// Background this operation.
|
// Background this operation.
|
||||||
|
Loading…
Reference in New Issue
Block a user