Skip to content

Commit

Permalink
osHealth: improve grammar on Redmine issue title
Browse files Browse the repository at this point in the history
  • Loading branch information
kreatoo committed Dec 24, 2024
1 parent 3a57290 commit ba75aba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osHealth/ram.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ func RamUsage() {
if virtualMemory.UsedPercent > ramLimit {
common.PrettyPrint("RAM Usage", common.Fail + " more than " + strconv.FormatFloat(ramLimit, 'f', 0, 64) + "%", virtualMemory.UsedPercent, true, false, false, 0)
common.AlarmCheckDown("ram", "RAM usage limit has exceeded " + strconv.FormatFloat(ramLimit, 'f', 0, 64) + "% (Current: " + strconv.FormatFloat(virtualMemory.UsedPercent, 'f', 0, 64) + "%)", false)
issues.CheckDown("ram", common.Config.Identifier + " için hafıza kullanımı " + strconv.FormatFloat(ramLimit, 'f', 0, 64) + "%'nin üstüne çıktı", "Hafıza kullanımı: " + strconv.FormatFloat(virtualMemory.UsedPercent, 'f', 0, 64) + "%\n Hafıza limiti: " + strconv.FormatFloat(ramLimit, 'f', 0, 64) + "%", false, 0)
issues.CheckDown("ram", common.Config.Identifier + " için hafıza kullanımı %" + strconv.FormatFloat(ramLimit, 'f', 0, 64) + " üstüne çıktı", "Hafıza kullanımı: " + strconv.FormatFloat(virtualMemory.UsedPercent, 'f', 0, 64) + "%\n Hafıza limiti: " + strconv.FormatFloat(ramLimit, 'f', 0, 64) + "%", false, 0)
} else {
common.PrettyPrint("RAM Usage", common.Green + " less than " + strconv.FormatFloat(ramLimit, 'f', 0, 64) + "%", virtualMemory.UsedPercent, true, false, false, 0)
common.AlarmCheckUp("ram", "RAM usage went below " + strconv.FormatFloat(ramLimit, 'f', 0, 64) + "% (Current: " + strconv.FormatFloat(virtualMemory.UsedPercent, 'f', 0, 64) + "%)", false)
issues.CheckUp("ram", common.Config.Identifier + " için hafıza kullanımı " + strconv.FormatFloat(ramLimit, 'f', 0, 64) + "%'nin altına düştü")
issues.CheckUp("ram", common.Config.Identifier + " için hafıza kullanımı %" + strconv.FormatFloat(ramLimit, 'f', 0, 64) + " altına düştü")
}
}

0 comments on commit ba75aba

Please sign in to comment.