Correct API inconsistency
This commit is contained in:
parent
8da2a17929
commit
5ff743a4c5
|
@ -36,7 +36,7 @@ var Driver = module.exports = function Driver(opts) {
|
||||||
this.details = {};
|
this.details = {};
|
||||||
|
|
||||||
for (var opt in opts) {
|
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];
|
this.details[opt] = opts[opt];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue