9acfa166c0
The Superset method on Resources used to return a string in the format of “[resource name] exhausted”. This was leading to the output in plan/create job API DimensionExhausted to return keys like ``` "DimensionExhausted": {"cpu exhausted": 1} ``` This was not anywhere documented, however, one of the examples on the website showed it like this. The other side effect of this is that the CLI formats the strings from the name of the key leading to output like ``` * Dimension "cpu exhausted" exhausted on 1 nodes ``` |
||
---|---|---|
.. | ||
deploymentwatcher | ||
mock | ||
state | ||
structs | ||
types | ||
acl.go | ||
acl_endpoint.go | ||
acl_endpoint_test.go | ||
acl_test.go | ||
alloc_endpoint.go | ||
alloc_endpoint_test.go | ||
blocked_evals.go | ||
blocked_evals_test.go | ||
config.go | ||
core_sched.go | ||
core_sched_test.go | ||
deployment_endpoint.go | ||
deployment_endpoint_test.go | ||
deployment_watcher_shims.go | ||
endpoints_oss.go | ||
eval_broker.go | ||
eval_broker_test.go | ||
eval_endpoint.go | ||
eval_endpoint_test.go | ||
fsm.go | ||
fsm_not_ent.go | ||
fsm_registry_oss.go | ||
fsm_test.go | ||
heartbeat.go | ||
heartbeat_test.go | ||
job_endpoint.go | ||
job_endpoint_oss.go | ||
job_endpoint_test.go | ||
leader.go | ||
leader_oss.go | ||
leader_test.go | ||
merge.go | ||
node_endpoint.go | ||
node_endpoint_test.go | ||
operator_endpoint.go | ||
operator_endpoint_test.go | ||
periodic.go | ||
periodic_endpoint.go | ||
periodic_endpoint_test.go | ||
periodic_test.go | ||
plan_apply.go | ||
plan_apply_not_ent.go | ||
plan_apply_pool.go | ||
plan_apply_pool_test.go | ||
plan_apply_test.go | ||
plan_endpoint.go | ||
plan_endpoint_test.go | ||
plan_queue.go | ||
plan_queue_test.go | ||
pool.go | ||
raft_rpc.go | ||
regions_endpoint.go | ||
regions_endpoint_test.go | ||
rpc.go | ||
rpc_test.go | ||
search_endpoint.go | ||
search_endpoint_oss.go | ||
search_endpoint_test.go | ||
serf.go | ||
serf_test.go | ||
server.go | ||
server_setup_oss.go | ||
server_test.go | ||
status_endpoint.go | ||
status_endpoint_test.go | ||
system_endpoint.go | ||
system_endpoint_test.go | ||
timetable.go | ||
timetable_test.go | ||
util.go | ||
util_test.go | ||
vault.go | ||
vault_test.go | ||
vault_testing.go | ||
worker.go | ||
worker_test.go |