remove "errors" from log message (#3087)
#### Type of change
- [x] 🤖 Supportability/Tests
This commit is contained in:
parent
4eef3d3703
commit
10a5d21cc9
@ -54,12 +54,12 @@ func LogFaultErrors(ctx context.Context, fe *fault.Errors, prefix string) {
|
|||||||
)
|
)
|
||||||
|
|
||||||
if fe.Failure == nil && li+ls+lr == 0 {
|
if fe.Failure == nil && li+ls+lr == 0 {
|
||||||
log.Info(pfxMsg, "no errors")
|
log.Info(pfxMsg + " no issues")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if fe.Failure != nil {
|
if fe.Failure != nil {
|
||||||
log.With("error", fe.Failure).Error(pfxMsg, "primary failure")
|
log.With("error", fe.Failure).Error(pfxMsg + " primary failure")
|
||||||
}
|
}
|
||||||
|
|
||||||
for i, item := range fe.Items {
|
for i, item := range fe.Items {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user