Changed _last_inform parameter to _lastInform for unification.
This commit is contained in:
1 parent
84d75c4696
commit
f4d7104c4f
2 files changed
+4
-2
No files matched your search
+1
-1
@@ -59,7 +59,7 @@ updateDevice = (currentRequest, actions, callback) ->
|
|||||||
updates = {}
|
updates = {}
|
||||||
deletes = {}
|
deletes = {}
|
||||||
if actions.inform?
|
if actions.inform?
|
||||||
updates['_last_inform'] = now
|
updates['_lastInform'] = now
|
||||||
updates['_lastBoot'] = now if '1 BOOT' in actions.inform
|
updates['_lastBoot'] = now if '1 BOOT' in actions.inform
|
||||||
updates['_lastBootstrap'] = now if '0 BOOTSTRAP' in actions.inform
|
updates['_lastBootstrap'] = now if '0 BOOTSTRAP' in actions.inform
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
"_last_inform" : {"alias" : "summary.lastInform", "type" : "date"},
|
"_lastInform" : {"alias" : "summary.lastInform", "type" : "date"},
|
||||||
|
"_lastBoot" : {"alias" : "summary.lastBoot", "type" : "date"},
|
||||||
|
"_lastBootstrap" : {"alias" : "summary.lastBootstrap", "type" : "date"},
|
||||||
"InternetGatewayDevice.DeviceInfo.SerialNumber" : {"alias" : "summary.serialNumber"},
|
"InternetGatewayDevice.DeviceInfo.SerialNumber" : {"alias" : "summary.serialNumber"},
|
||||||
"InternetGatewayDevice.DeviceInfo.Manufacturer" : {"alias" : "summary.manufacturer"},
|
"InternetGatewayDevice.DeviceInfo.Manufacturer" : {"alias" : "summary.manufacturer"},
|
||||||
"InternetGatewayDevice.DeviceInfo.ProductClass" : {"alias" : "summary.productClass"},
|
"InternetGatewayDevice.DeviceInfo.ProductClass" : {"alias" : "summary.productClass"},
|
||||||
|
|||||||
Reference in new issue
Block a user