open-nomad/nomad/structs
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
..
config Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
bitmap.go assign names 2017-07-07 12:03:11 -07:00
bitmap_test.go assign names 2017-07-07 12:03:11 -07:00
diff.go Fix empty map 2017-09-28 16:15:04 -07:00
diff_test.go Test Check.Header add/removes 2017-09-28 17:08:43 -07:00
funcs.go Remove structs import from api 2017-09-29 10:36:08 -07:00
funcs_test.go Remove structs import from api 2017-09-29 10:36:08 -07:00
network.go Shrink dynamic port range 2017-07-18 13:47:53 -07:00
network_test.go Enable more linters 2017-09-26 15:26:33 -07:00
node_class.go
node_class_test.go Remove structs import from api 2017-09-29 10:36:08 -07:00
operator.go Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
structs.go Changed Superset to only return the resource name 2017-11-28 23:16:08 -05:00
structs_codegen.go pass in uid to codecgen 2017-09-11 15:40:27 -07:00
structs_test.go Changes service name validation logic to ignore any environment variables first. 2017-11-15 15:35:43 -06:00