Skip to content

Commit 58b1958

Browse files
authored
Merge pull request #516 from telefonicaid/bug/smallDocAndLogTypos
FIX Small typos
2 parents abbc0c7 + c71e4f9 commit 58b1958

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,12 +805,12 @@ The following `attributes` section shows an example of the plugin configuration:
805805
"expression": "${latitude}, ${longitude}",
806806
"reverse": [
807807
{
808-
"object_id":"latitude",
808+
"object_id":"longitude",
809809
"type": "string",
810810
"expression": "${trim(substr(@location, indexOf(@location, \",\") + 1, length(@location)))}"
811811
},
812812
{
813-
"object_id":"longitude",
813+
"object_id":"latitude",
814814
"type": "string",
815815
"expression": "${trim(substr(@location, 0, indexOf(@location, \",\")))}"
816816
}

lib/services/commands/commandService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function markAsExpired(command) {
105105
updateExpiredCommand
106106
], function(error) {
107107
if (error) {
108-
logger.error(context, 'Error updating polling command to expire: %s', error);
108+
logger.error(context, 'Error updating polling command to expire: %j', error);
109109
} else {
110110
logger.debug(context, 'Command successfully expired');
111111
}

0 commit comments

Comments
 (0)