mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Share button for public objects (#9162)
This commit is contained in:
@@ -291,6 +291,7 @@ var (
|
||||
func getGlobalInfo() (globalInfo map[string]interface{}) {
|
||||
globalInfo = map[string]interface{}{
|
||||
"serverRegion": globalServerRegion,
|
||||
"domains": globalDomainNames,
|
||||
// Add more relevant global settings here.
|
||||
}
|
||||
|
||||
|
||||
@@ -242,6 +242,7 @@ func testServerInfoWebHandler(obj ObjectLayer, instanceType string, t TestErrHan
|
||||
if serverInfoReply.MinioVersion != Version {
|
||||
t.Fatalf("Cannot get minio version from server info handler")
|
||||
}
|
||||
serverInfoReply.MinioGlobalInfo["domains"] = []string(nil)
|
||||
globalInfo := getGlobalInfo()
|
||||
if !reflect.DeepEqual(serverInfoReply.MinioGlobalInfo, globalInfo) {
|
||||
t.Fatalf("Global info did not match got %#v, expected %#v", serverInfoReply.MinioGlobalInfo, globalInfo)
|
||||
|
||||
Reference in New Issue
Block a user