File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ func (m *Manager) loop(ctx context.Context) {
171
171
}
172
172
err := m .syncReplicas (ctx )
173
173
if err != nil && ! errors .Is (err , context .Canceled ) {
174
- m .logger .Warn (ctx , "run replica update loop" , slog .Error (err ))
174
+ m .logger .Error (ctx , "run replica update loop" , slog .Error (err ))
175
175
}
176
176
}
177
177
}
@@ -192,7 +192,7 @@ func (m *Manager) subscribe(ctx context.Context) error {
192
192
update = func () {
193
193
err := m .syncReplicas (ctx )
194
194
if err != nil && ! errors .Is (err , context .Canceled ) {
195
- m .logger .Warn (ctx , "run replica from subscribe" , slog .Error (err ))
195
+ m .logger .Error (ctx , "run replica from subscribe" , slog .Error (err ))
196
196
}
197
197
updateMutex .Lock ()
198
198
if needsUpdate {
You can’t perform that action at this time.
0 commit comments