cluster-service
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -16,2 +16,4 @@ ## v1.0.0 - 5/8/2014 | ||
* Further streamlined management of state across multiple cservice instances | ||
* Allow numeric accessKey's | ||
* Fix crash if no command provided in REST call | ||
@@ -18,0 +20,0 @@ |
@@ -91,3 +91,3 @@ var cservice = require("../cluster-service"), | ||
if (!cservice.locals.events[args[0]]) { | ||
cservice.error("Command " + args[0].cyan + " not found".error); | ||
cservice.error("Command " + (args[0] + "").cyan + " not found".error); | ||
res.writeHead(404); | ||
@@ -94,0 +94,0 @@ res.end("Not found. Try /help"); |
@@ -139,3 +139,3 @@ /* jshint loopfunc:true */ | ||
function startListener(options, cb) { | ||
if (typeof options.accessKey !== "string") { // in-proc mode only | ||
if (typeof options.accessKey === "undefined") { // in-proc mode only | ||
cservice.log( | ||
@@ -152,2 +152,3 @@ [ | ||
} else { | ||
options.accessKey = options.accessKey.toString(); | ||
require("./control").setAccessKey(options.accessKey); | ||
@@ -154,0 +155,0 @@ } |
{ | ||
"name": "cluster-service", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Aaron Silvas", |
@@ -25,2 +25,5 @@ # cluster-service | ||
Video: | ||
http://x.co/bpnodevid | ||
@@ -27,0 +30,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123600
3287
306