fix: batchFirstFingerprints does not update device on node after v1.3.5 (#15125)
* fix: update device in batch first footprint * cl: add cl note Co-authored-by: Seth Hoenig <shoenig@duck.com>
This commit is contained in:
parent
147df77e62
commit
654ae1d591
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:bug
|
||||||
|
device: Fixed a bug where device plugins would not fingerprint on startup
|
||||||
|
```
|
|
@ -76,6 +76,7 @@ SEND_BATCH:
|
||||||
var devicesChanged bool
|
var devicesChanged bool
|
||||||
c.batchNodeUpdates.batchDevicesUpdates(func(devices []*structs.NodeDeviceResource) {
|
c.batchNodeUpdates.batchDevicesUpdates(func(devices []*structs.NodeDeviceResource) {
|
||||||
if c.updateNodeFromDevicesLocked(devices) {
|
if c.updateNodeFromDevicesLocked(devices) {
|
||||||
|
newConfig.Node.NodeResources.Devices = devices
|
||||||
devicesChanged = true
|
devicesChanged = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue