open-nomad/nomad
Thomas Bartelmess 9acfa166c0
Changed Superset to only return the resource name
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
```
2017-11-28 23:16:08 -05:00
..
deploymentwatcher Adds comment to handleRollbackValidity method and other small test readability fixes. 2017-11-03 17:05:15 -05:00
mock
state Add ModifyTime to Allocation and update it both on plan applies and client initiated updates 2017-11-01 15:13:48 -05:00
structs Changed Superset to only return the resource name 2017-11-28 23:16:08 -05:00
types
acl.go clear the token 2017-10-23 15:11:13 -07:00
acl_endpoint.go
acl_endpoint_test.go
acl_test.go leader acl token 2017-10-23 14:10:14 -07:00
alloc_endpoint.go
alloc_endpoint_test.go
blocked_evals.go
blocked_evals_test.go
config.go Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
core_sched.go thread leader token through core gc and test 2017-10-23 15:04:00 -07:00
core_sched_test.go thread leader token through core gc and test 2017-10-23 15:04:00 -07:00
deployment_endpoint.go
deployment_endpoint_test.go Added more unit tests for testing rollback when job has identical spec to AllocHealth and DeploymentStatus endpoints. 2017-11-03 16:07:06 -05:00
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 lax timing 2017-10-23 16:48:20 -07:00
job_endpoint.go Use request namespace in Register method 2017-11-20 17:12:13 -06:00
job_endpoint_oss.go
job_endpoint_test.go
leader.go Merge pull request #3402 from hashicorp/leader-loop 2017-11-03 13:40:59 -07:00
leader_oss.go
leader_test.go Fix some flaky tests 2017-10-23 16:48:20 -07:00
merge.go
node_endpoint.go Address some code review comments 2017-11-03 09:13:01 -05:00
node_endpoint_test.go Fix node end point test that was failing compilation 2017-11-01 15:16:38 -05:00
operator_endpoint.go
operator_endpoint_test.go move to consul freeport implementation 2017-10-23 16:51:40 -07:00
periodic.go
periodic_endpoint.go
periodic_endpoint_test.go
periodic_test.go
plan_apply.go Revert unintentional change to plan_apply.go during rebase 2017-11-03 09:13:01 -05:00
plan_apply_not_ent.go
plan_apply_pool.go
plan_apply_pool_test.go
plan_apply_test.go Always set modify time on allocations, and other changes addressing review comments 2017-11-01 15:13:48 -05:00
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 Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
rpc_test.go connection receives only EOF 2017-11-01 15:21:05 -05:00
search_endpoint.go
search_endpoint_oss.go
search_endpoint_test.go
serf.go
serf_test.go Fix some flaky tests 2017-10-23 16:48:20 -07:00
server.go Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
server_setup_oss.go
server_test.go move to consul freeport implementation 2017-10-23 16:51:40 -07:00
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 fix flaky vault test 2017-10-23 16:48:20 -07:00
vault_testing.go
worker.go
worker_test.go