Skip to content

Commit

Permalink
Small typo correction
Browse files Browse the repository at this point in the history
  • Loading branch information
jabclab committed May 15, 2014
1 parent 736bab3 commit 62a3a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function getMasterFromEndpoint(endpoint, masterName, callback) {

// Test the response
if (result === null) {
callback(new Error("Unkown master name: " + masterName));
callback(new Error("Unknown master name: " + masterName));
} else {
var ip = result[0];
var port = result[1];
Expand Down Expand Up @@ -230,7 +230,7 @@ function getSlaveFromEndpoint(endpoint, masterName, callback) {

// Test the response
if (result === null) {
callback(new Error("Unkown master name: " + masterName));
callback(new Error("Unknown master name: " + masterName));
} else if(result.length === 0){
callback(new Error("No slaves linked to the master."));
} else {
Expand Down

0 comments on commit 62a3a34

Please sign in to comment.