Skip to content

Commit

Permalink
attempt: add machine-id detector
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp committed Dec 13, 2024
1 parent aad981c commit 811de90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions providers/os/connection/device/device_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ func tryDetectAsset(connId uint32, partition *snapshot.PartitionInfo, conf *inve
Strs("id-detectors", asset.IdDetector). // debug
Msg("device connection> detecting platform from device")

asset.IdDetector = append(asset.IdDetector, ids.IdDetector_MachineID)
fingerprint, p, err := id.IdentifyPlatform(fsConn, &plugin.ConnectReq{}, p, asset.IdDetector)
if err != nil {
log.Debug().Err(err).
Expand Down

0 comments on commit 811de90

Please sign in to comment.