Skip to content

Commit

Permalink
Adjust log level to info
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-vanyasin committed Sep 27, 2023
1 parent 123fc9f commit e446a84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 42 deletions.
4 changes: 2 additions & 2 deletions pkg/exporter/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ func (m monitor) UpdateMonitorStatus(ctx context.Context) {

health, err := m.GetClusterHealth()
if err != nil {
logger.Err(err).Error("GetClusterHealth error")
logger.Err(err).Info("GetClusterHealth error")
sleep = failRefreshInterval
} else {
var output strings.Builder
for key, value := range health.Health {
entry, err := m.GetMemberStatus(key, value)
if err != nil {
logger.Err(err).Error("GetMemberStatus error")
logger.Err(err).Info("GetMemberStatus error")
sleep = failRefreshInterval
}
output.WriteString(entry)
Expand Down
40 changes: 0 additions & 40 deletions pkg/util/arangod/endpoint.go

This file was deleted.

0 comments on commit e446a84

Please sign in to comment.