mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
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:
3
.changelog/15125.txt
Normal file
3
.changelog/15125.txt
Normal file
@@ -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
|
||||
c.batchNodeUpdates.batchDevicesUpdates(func(devices []*structs.NodeDeviceResource) {
|
||||
if c.updateNodeFromDevicesLocked(devices) {
|
||||
newConfig.Node.NodeResources.Devices = devices
|
||||
devicesChanged = true
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user