mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Make audit webhook and kafka config dynamic (#14390)
This commit is contained in:
@@ -30,6 +30,7 @@ import (
|
||||
"time"
|
||||
|
||||
xhttp "github.com/minio/minio/internal/http"
|
||||
"github.com/minio/minio/internal/logger/target/types"
|
||||
)
|
||||
|
||||
// Timeout for the webhook http call
|
||||
@@ -222,3 +223,8 @@ func (h *Target) Cancel() {
|
||||
}
|
||||
h.wg.Wait()
|
||||
}
|
||||
|
||||
// Type - returns type of the target
|
||||
func (h *Target) Type() types.TargetType {
|
||||
return types.TargetHTTP
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user