Skip to content

Commit

Permalink
Merge pull request #16 from ibm-cloud-solutions/fix_message
Browse files Browse the repository at this point in the history
fix message
  • Loading branch information
chambrid committed Sep 9, 2016
2 parents ade19ed + b02ee5a commit 35de372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"redis.slowlog.timestamp": "Timestamp",
"redis.slowlog.execution.time": "Microseconds for Execution",
"redis.slowlog.command": "Command",
"redis.slowlog.not.found": "No commands were found in the slow logs for the given threshold of %s microseconds.",
"redis.slowlog.not.found": "No commands were found in the slow logs.",
"help.redis.check.ttls": "Checks the existing Redis keys for any without a set expiration.",
"help.redis.delete.ttls": "Deletes any existing Redis keys that do not have a set expiration.",
"help.redis.delete.key": "Deletes any existing Redis keys with the specified name.",
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/redis.slowlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module.exports = (robot) => {
activity.emitBotActivity(robot, res, {activity_id: SLOWLOG_ID});
}
else {
let message = i18n.__('redis.slowlog.not.found', '' + SLOWLOG_THRESHOLD);
let message = i18n.__('redis.slowlog.not.found');
robot.logger.error(`${TAG}: ${message}`);
robot.emit('ibmcloud.formatter', {
response: res,
Expand Down

0 comments on commit 35de372

Please sign in to comment.