Share button for public objects (#9162)

This commit is contained in:
Egor Rudinsky
2020-05-02 09:55:53 +03:00
committed by GitHub
parent a6bdc086a2
commit f7c91eff54
8 changed files with 122 additions and 22 deletions

View File

@@ -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)