Skip to content

Commit

Permalink
Merge branch 'bug_18605/improve_display_of_partition_free_space_pr' i…
Browse files Browse the repository at this point in the history
…nto branches/rudder/6.2
  • Loading branch information
Jenkins CI committed Nov 18, 2020
2 parents 39ec989 + 2f67cd5 commit 26fb32d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ final object CheckFreeSpace extends Check {
val pcSpaceLeft = paritionSpaceInfos.map(x => (x.path, x.percent)).sortBy(_._2)
pcSpaceLeft match {
case h :: _ =>
val listMsgSpace = pcSpaceLeft.map(s => s"- ${s._1} -> ${s._2}%").mkString("\n")
val listMsgSpace = pcSpaceLeft.map(s => s"${s._1} has ${s._2}% free space").mkString("\n")
h._2 match {
case pr if pr < 5L =>
val msg = s"Missing available free space (<5%):\n${listMsgSpace}"
Expand Down Expand Up @@ -160,7 +160,7 @@ final class CheckFileDescriptorLimit(val nodeInfoService: NodeInfoService) exten
case limit if limit <= minimalLimit =>
Warning(name, s"Current file descriptor limit is ${limit}. It should be > ${minimalLimit} for ${numNode} nodes")
case _ =>
Ok(name, s"Maximum number of file descriptors: ${limit}")
Ok(name, s"Maximum number of file descriptors is ${limit}")
}
}
}
Expand Down

0 comments on commit 26fb32d

Please sign in to comment.