26acd7f025
In #3520, work was done to true up the defaults for Nomad resource stanzas with the documentation. This fixes the tests that I accidentally broke in the process. Some questions were raised about using dynamic elements as part of expects, which is why I opted to copy the MinResources pattern. During this refactor I also noticed that structs.go had a similar issue and an inconsistent minium for CPU. |
||
---|---|---|
.. | ||
contexts | ||
acl.go | ||
acl_test.go | ||
agent.go | ||
agent_test.go | ||
allocations.go | ||
allocations_test.go | ||
api.go | ||
api_test.go | ||
compose_test.go | ||
constraint.go | ||
constraint_test.go | ||
deployments.go | ||
evaluations.go | ||
evaluations_test.go | ||
fs.go | ||
fs_test.go | ||
jobs.go | ||
jobs_test.go | ||
jobs_testing.go | ||
namespace.go | ||
namespace_test.go | ||
nodes.go | ||
nodes_test.go | ||
operator.go | ||
operator_test.go | ||
quota.go | ||
quota_test.go | ||
raw.go | ||
regions.go | ||
regions_test.go | ||
resources.go | ||
search.go | ||
search_test.go | ||
sentinel.go | ||
sentinel_test.go | ||
status.go | ||
status_test.go | ||
system.go | ||
system_test.go | ||
tasks.go | ||
tasks_test.go | ||
util_test.go |