mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 09:30:55 +00:00
Merge pull request #3663 from wshn13/add-LF-character-in-memory-doctor-output-message
Add '\n' to MEMORY DOCTOR command output message
This commit is contained in:
commit
978a790b85
@ -955,14 +955,14 @@ sds getMemoryDoctorReport(void) {
|
|||||||
if (num_reports == 0) {
|
if (num_reports == 0) {
|
||||||
s = sdsnew(
|
s = sdsnew(
|
||||||
"Hi Sam, I can't find any memory issue in your instance. "
|
"Hi Sam, I can't find any memory issue in your instance. "
|
||||||
"I can only account for what occurs on this base.");
|
"I can only account for what occurs on this base.\n");
|
||||||
} else if (empty == 1) {
|
} else if (empty == 1) {
|
||||||
s = sdsnew(
|
s = sdsnew(
|
||||||
"Hi Sam, this instance is empty or is using very little memory, "
|
"Hi Sam, this instance is empty or is using very little memory, "
|
||||||
"my issues detector can't be used in these conditions. "
|
"my issues detector can't be used in these conditions. "
|
||||||
"Please, leave for your mission on Earth and fill it with some data. "
|
"Please, leave for your mission on Earth and fill it with some data. "
|
||||||
"The new Sam and I will be back to our programming as soon as I "
|
"The new Sam and I will be back to our programming as soon as I "
|
||||||
"finished rebooting.");
|
"finished rebooting.\n");
|
||||||
} else {
|
} else {
|
||||||
s = sdsnew("Sam, I detected a few issues in this Redis instance memory implants:\n\n");
|
s = sdsnew("Sam, I detected a few issues in this Redis instance memory implants:\n\n");
|
||||||
if (big_peak) {
|
if (big_peak) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user