mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
Add notification queue metrics (#16026)
This commit is contained in:
@@ -133,6 +133,11 @@ func (target *RedisTarget) ID() event.TargetID {
|
||||
return target.id
|
||||
}
|
||||
|
||||
// Store returns any underlying store if set.
|
||||
func (target *RedisTarget) Store() event.TargetStore {
|
||||
return target.store
|
||||
}
|
||||
|
||||
// IsActive - Return true if target is up and active
|
||||
func (target *RedisTarget) IsActive() (bool, error) {
|
||||
if err := target.init(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user