Skip to content

Commit 9839050

Browse files
[smclient] Change log.Error to Warning to fix alerts after reboot
Signed-off-by: Mykola Kobets <mykola_kobets@epam.com>
1 parent 329060e commit 9839050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smclient/smclient.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ func (client *SMClient) createConnection(
233233
if errors.Is(err, io.EOF) {
234234
log.Debug("Connection is closed")
235235
} else {
236-
log.Errorf("Connection error: %v", aoserrors.Wrap(err))
236+
log.Warningf("Connection error: %v", aoserrors.Wrap(err))
237237
}
238238
}
239239

0 commit comments

Comments
 (0)