Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/praefect/nodes/local_elector.go')
-rw-r--r--internal/praefect/nodes/local_elector.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/praefect/nodes/local_elector.go b/internal/praefect/nodes/local_elector.go
index bea1ef68b..95c2c3f35 100644
--- a/internal/praefect/nodes/local_elector.go
+++ b/internal/praefect/nodes/local_elector.go
@@ -52,7 +52,11 @@ func (s *localElector) bootstrap(d time.Duration) {
<-timer.C
ctx := context.TODO()
- s.checkNodes(ctx)
+
+ if err := s.checkNodes(ctx); err != nil {
+ s.log.WithError(err).Warn("error checking nodes")
+ }
+
timer.Reset(d)
}
}