mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
Print certain log messages once per error (#17484)
This commit is contained in:
@@ -480,7 +480,7 @@ func (s *peerRESTServer) GetSysConfigHandler(w http.ResponseWriter, r *http.Requ
|
||||
|
||||
info := madmin.GetSysConfig(ctx, r.Host)
|
||||
|
||||
logger.LogIf(ctx, gob.NewEncoder(w).Encode(info))
|
||||
logger.LogOnceIf(ctx, gob.NewEncoder(w).Encode(info), "get-sys-config")
|
||||
}
|
||||
|
||||
// GetSysServicesHandler - returns system services information.
|
||||
|
||||
Reference in New Issue
Block a user