diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2016-12-06 09:20:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 09:20:36 +0100 |
commit | 978a790b85f240615486913db1d043d28e51b74b (patch) | |
tree | be1f3d6c535ccfe20eb695330b67d9b2e29b8f42 | |
parent | 16cce320c468f93c101227cb7c012139257ae21d (diff) | |
parent | 2d91fce9705b307e657bf5a4caf5cdbdee44faa1 (diff) | |
download | redis-978a790b85f240615486913db1d043d28e51b74b.tar.gz |
Merge pull request #3663 from wshn13/add-LF-character-in-memory-doctor-output-message
Add '\n' to MEMORY DOCTOR command output message
-rw-r--r-- | src/object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.c b/src/object.c index 4d14ae8d9..1ae37c9d1 100644 --- a/src/object.c +++ b/src/object.c @@ -955,14 +955,14 @@ sds getMemoryDoctorReport(void) { if (num_reports == 0) { s = sdsnew( "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) { s = sdsnew( "Hi Sam, this instance is empty or is using very little memory, " "my issues detector can't be used in these conditions. " "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 " - "finished rebooting."); + "finished rebooting.\n"); } else { s = sdsnew("Sam, I detected a few issues in this Redis instance memory implants:\n\n"); if (big_peak) { |