mirror of
https://github.com/minio/minio.git
synced 2025-11-25 20:16:10 -05:00
fix: only show active/available ARNs in server startup banner (#9392)
This commit is contained in:
@@ -99,6 +99,11 @@ func (target *NSQTarget) ID() event.TargetID {
|
||||
return target.id
|
||||
}
|
||||
|
||||
// HasQueueStore - Checks if the queueStore has been configured for the target
|
||||
func (target *NSQTarget) HasQueueStore() bool {
|
||||
return target.store != nil
|
||||
}
|
||||
|
||||
// IsActive - Return true if target is up and active
|
||||
func (target *NSQTarget) IsActive() (bool, error) {
|
||||
if target.producer != nil {
|
||||
|
||||
Reference in New Issue
Block a user