Skip to content

Commit

Permalink
fix: batchFirstFingerprints does not update device on node after v1.3.5
Browse files Browse the repository at this point in the history
may fix #14888
  • Loading branch information
jacksonzhu committed Nov 3, 2022
1 parent 5a5b4b0 commit 1d34291
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/node_updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ SEND_BATCH:
var devicesChanged bool
c.batchNodeUpdates.batchDevicesUpdates(func(devices []*structs.NodeDeviceResource) {
if c.updateNodeFromDevicesLocked(devices) {
newConfig.Node.NodeResources.Devices = devices
devicesChanged = true
}
})
Expand Down

0 comments on commit 1d34291

Please sign in to comment.