remove "errors" from log message (#3087)

#### Type of change

- [x] 🤖 Supportability/Tests
This commit is contained in:
Keepers 2023-04-11 13:26:03 -06:00 committed by GitHub
parent 4eef3d3703
commit 10a5d21cc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,12 +54,12 @@ func LogFaultErrors(ctx context.Context, fe *fault.Errors, prefix string) {
)
if fe.Failure == nil && li+ls+lr == 0 {
log.Info(pfxMsg, "no errors")
log.Info(pfxMsg + " no issues")
return
}
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 {