Skip to content

Commit

Permalink
Allow override service name by using Service#name.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsm committed Sep 11, 2015
1 parent 21004d8 commit 50ac44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var Service = module.exports = function MicroMonoService() {
this.emitter = new EventEmitter();

this.announcement = {
name: this.packageInfo.name,
name: this.name || this.packageInfo.name,
version: this.packageInfo.version
};

Expand Down

0 comments on commit 50ac44d

Please sign in to comment.