Fix device.attr typo (#5331)
Fix https://github.com/hashicorp/nomad/issues/5315
This commit is contained in:
parent
95edd4a97b
commit
24d510290a
|
@ -43,13 +43,13 @@ job "docs" {
|
|||
count = 2
|
||||
|
||||
constraint {
|
||||
attribute = "${driver.attr.memory}"
|
||||
attribute = "${device.attr.memory}"
|
||||
operator = ">="
|
||||
value = "2 GiB"
|
||||
}
|
||||
|
||||
affinity {
|
||||
attribute = "${driver.attr.memory}"
|
||||
attribute = "${device.attr.memory}"
|
||||
operator = ">="
|
||||
value = "4 GiB"
|
||||
weight = 75
|
||||
|
|
Loading…
Reference in New Issue