Skip to content

Commit

Permalink
fix(Osv): Fix-up two (error) log messages
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Sep 19, 2023
1 parent 2ce373d commit 31ec26a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions advisor/src/main/kotlin/advisors/Osv.kt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Osv(name: String, config: OsvConfiguration) : AdviceProvider(name) {
}
}.onFailure {
logger.error {
"Requesting vulnerabilities IDs for packages failed: ${it.collectMessages()}"
"Requesting vulnerability IDs for packages failed: ${it.collectMessages()}"
}
}

Expand All @@ -123,7 +123,7 @@ class Osv(name: String, config: OsvConfiguration) : AdviceProvider(name) {

return result.getOrElse {
logger.error {
"Requesting vulnerabilities IDs for packages failed: ${it.collectMessages()}"
"Requesting vulnerabilities for IDs failed: ${it.collectMessages()}"
}
emptyList()
}
Expand Down

0 comments on commit 31ec26a

Please sign in to comment.