mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
dynamic host volumes: send register to client for fingerprint (#24802)
When we register a volume without a plugin, we need to send a client RPC so that the node fingerprint can be updated. The registered volume also needs to be written to client state so that we can restore the fingerprint after a restart. Co-authored-by: Daniel Bennett <dbennett@hashicorp.com>
This commit is contained in:
@@ -48,7 +48,7 @@ type HostVolume struct {
|
||||
// updated on the client
|
||||
RequestedCapacityMinBytes int64 `mapstructure:"capacity_min" hcl:"capacity_min"`
|
||||
RequestedCapacityMaxBytes int64 `mapstructure:"capacity_max" hcl:"capacity_max"`
|
||||
CapacityBytes int64
|
||||
CapacityBytes int64 `mapstructure:"capacity" hcl:"capacity"`
|
||||
|
||||
// RequestedCapabilities defines the options available to group.volume
|
||||
// blocks. The scheduler checks against the listed capability blocks and
|
||||
|
||||
Reference in New Issue
Block a user