switched not actionable and are alarming log messages to Debugf from Errorf (#10388)

issue: #10380

Signed-off-by: siddharth pal <siddharthshubhampal@gmail.com>
This commit is contained in:
Siddharth S Pal 2023-03-03 01:42:36 +05:30 committed by GitHub
parent 857f882721
commit e55b91c320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -244,7 +244,7 @@ func (et *endpointTranslator) NoEndpoints(exists bool) {
et.log.Debugf("Sending destination no endpoints: %+v", u)
if err := et.stream.Send(u); err != nil {
et.log.Errorf("Failed to send address update: %s", err)
et.log.Debugf("Failed to send address update: %s", err)
}
}
@ -313,7 +313,7 @@ func (et *endpointTranslator) sendClientAdd(set watcher.AddressSet) {
et.log.Debugf("Sending destination add: %+v", add)
if err := et.stream.Send(add); err != nil {
et.log.Errorf("Failed to send address update: %s", err)
et.log.Debugf("Failed to send address update: %s", err)
}
}
@ -336,7 +336,7 @@ func (et *endpointTranslator) sendClientRemove(set watcher.AddressSet) {
et.log.Debugf("Sending destination remove: %+v", remove)
if err := et.stream.Send(remove); err != nil {
et.log.Errorf("Failed to send address update: %s", err)
et.log.Debugf("Failed to send address update: %s", err)
}
}