Update affinity.mdx (#15168)

Fix the comment to correspond to the code
This commit is contained in:
Matus Goljer
2022-12-01 01:01:56 +01:00
committed by GitHub
parent 45f04b748e
commit 5bec70723d

View File

@@ -40,7 +40,7 @@ job "docs" {
}
task "server" {
# Prefer nodes where "my_custom_value" is greater than 5
# Prefer nodes where "my_custom_value" is greater than 3
affinity {
attribute = "${meta.my_custom_value}"
operator = ">"