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