@@ -120,7 +120,7 @@ func GetDeviceCurrentStatus(device *models.Device, config *productconfig.Product
server.Log.Printf("ACTION GetDeviceCurrentStatus, identifier:: %v", device.DeviceIdentifier)
statusargs := rpcs.ArgsGetStatus{
- Id: device.RecordId,
+ Id: device.DeviceIdentifier,
}
statusreply := rpcs.ReplyGetStatus{}
//opentracing