mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Add missing gob register for map[string]string{} (#18974)
``` minio[1303918]: API: SYSTEM() minio[1303918]: Time: 02:04:28 UTC 02/05/2024 minio[1303918]: DeploymentID: 0972de33-2d17-4499-8967-aff6437dd9da minio[1303918]: Error: gob: type not registered for interface: map[string]string (*errors.errorString) minio[1303918]: 4: internal/logger/logonce.go:118:logger.(*logOnceType).logOnceIf() minio[1303918]: 3: internal/logger/logonce.go:149:logger.LogOnceIf() minio[1303918]: 2: cmd/peer-rest-server.go:533:cmd.(*peerRESTServer).GetSysConfigHandler() minio[1303918]: 1: net/http/server.go:2136:http.HandlerFunc.ServeHTTP() ```
This commit is contained in:
parent
7e023f2d50
commit
f674168b8b
@ -105,6 +105,7 @@ func init() {
|
||||
gob.Register(StorageErr(""))
|
||||
gob.Register(madmin.TimeInfo{})
|
||||
gob.Register(madmin.XFSErrorConfigs{})
|
||||
gob.Register(map[string]string{})
|
||||
gob.Register(map[string]interface{}{})
|
||||
|
||||
// All minio-go and madmin-go API operations shall be performed only once,
|
||||
|
Loading…
Reference in New Issue
Block a user