mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
Add detailed scanner metrics (#15161)
This commit is contained in:
@@ -203,7 +203,7 @@ func New(config Config) *Target {
|
||||
}
|
||||
|
||||
// Send log message 'e' to http target.
|
||||
func (h *Target) Send(entry interface{}, errKind string) error {
|
||||
func (h *Target) Send(entry interface{}) error {
|
||||
select {
|
||||
case <-h.doneCh:
|
||||
return nil
|
||||
|
||||
@@ -48,7 +48,7 @@ type Target struct {
|
||||
}
|
||||
|
||||
// Send log message 'e' to kafka target.
|
||||
func (h *Target) Send(entry interface{}, errKind string) error {
|
||||
func (h *Target) Send(entry interface{}) error {
|
||||
select {
|
||||
case <-h.doneCh:
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user