Fix device.attr typo (#5331)

Fix https://github.com/hashicorp/nomad/issues/5315
This commit is contained in:
Mahmood Ali 2019-02-16 13:07:02 -05:00 committed by GitHub
parent 95edd4a97b
commit 24d510290a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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