Skip to content

Commit

Permalink
Merge branch 'master' of github.com:reTHINK-project/dev-msg-node-nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
jboulmal committed Dec 21, 2016
2 parents b5fab64 + 8a1b609 commit df695f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/components/rethink/DomainRegistryManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class DomainRegistryManager {

handle(clientMessage) {
let msg = clientMessage.getMessage();
this.logger.info('[RegistryManager]: [', this.getName(), ']: handle registry message :\n', msg.msg);
this.logger.info('[Domain-Registry-Manager]: [', this.getName(), ']: handle registry message :\n', msg.msg);

switch (msg.msg.type.toLowerCase()) {
case 'create':
Expand Down
6 changes: 3 additions & 3 deletions src/main/components/rethink/GlobalRegistryManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class GlobalRegistryManager {
this.addDataObject(body.value.name, body.value.schema, body.value.expires, body.value.url, body.value.reporter, callback);
}
} catch (e) {
this.logger.error('[global-Registry-Manager] [', this.getName(), ']: Error while processing message:\n', e);
this.logger.error('[Global-Registry-Manager] [', this.getName(), ']: Error while processing message:\n', e);
}
break;

Expand All @@ -72,10 +72,10 @@ class GlobalRegistryManager {

case 'read':
if(body.resource.startWith('dataObject://')) {
this.logger.info('[global-Registry-Manager] Get dat object with :' + body.resource);
this.logger.info('[Global-Registry-Manager] Get dat object with :' + body.resource);
thi.getDataObject(body.resource, callback);
} else {
this.logger.info('[global-Registry-Manager] Get user with :', msg);
this.logger.info('[Global-Registry-Manager] Get user with :', msg);
thi.getUser(body.resource, callback);
}

Expand Down

0 comments on commit df695f1

Please sign in to comment.