Correct API inconsistency

This commit is contained in:
Andrew Stewart 2014-11-14 11:06:21 -08:00
parent 8da2a17929
commit 5ff743a4c5
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ var Driver = module.exports = function Driver(opts) {
this.details = {};
for (var opt in opts) {
if (['robot', 'name', 'adaptor', 'driver'].indexOf(opt) < 0) {
if (['robot', 'name', 'connection', 'driver'].indexOf(opt) < 0) {
this.details[opt] = opts[opt];
}
}