Merge pull request #1771 from rtheunissen/fix_unknown_typo

Fix all misspellings of "unknown"
This commit is contained in:
Alexandre Strzelewicz 2015-11-24 12:09:19 +01:00
commit 7c85c576fa
4 changed files with 5 additions and 5 deletions

View File

@ -790,8 +790,8 @@ CLI.reset = function(process_name, cb) {
return cb ? cb({msg:err}) : exitCli(cst.ERROR_EXIT);
}
if (ids.length === 0) {
printError('Unknow process name');
return cb ? cb({msg:'Unknow process name'}) : exitCli(cst.ERROR_EXIT);
printError('Unknown process name');
return cb ? cb({msg:'Unknown process name'}) : exitCli(cst.ERROR_EXIT);
}
return processIds(ids, cb);
});

View File

@ -271,7 +271,7 @@ Configuration.get = function(key, cb) {
return false;
});
if (!data) return cb({err : 'Unknow key'}, null);
if (!data) return cb({err : 'Unknown key'}, null);
return cb(null, data);
});
};

View File

@ -167,7 +167,7 @@ var PushInteractor = module.exports = {
var logs_limit_size = 1024 * 50;
// if (Object.keys(self._packet).indexOf(event) == -1) {
// return console.error('SKIP unknow field name [%s]', event);
// return console.error('SKIP unknown field name [%s]', event);
// }
debug('Buffering one more event %s', event);

View File

@ -207,7 +207,7 @@ describe('CUSTOM ACTIONS', function() {
server.emit('cmd', {
_type : 'trigger:action',
process_id : 0,
action_name : 'unknow:action'
action_name : 'unknown:action'
});
});