Fix for network not found in netconf.
This commit is contained in:
parent
5336f2600a
commit
999e963533
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ function doNetconfRequest(message)
|
||||||
|
|
||||||
// network lookup
|
// network lookup
|
||||||
DB.hgetall(networkKey,function(err,obj) {
|
DB.hgetall(networkKey,function(err,obj) {
|
||||||
if (obj.id === nwid)
|
if ((!err)&&(obj)&&(obj.id === nwid))
|
||||||
network = obj;
|
network = obj;
|
||||||
return next(null);
|
return next(null);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue