2a2ebd0537
* Fix plugin capability sorting. The `sort.StringSlice` method in the stdlib doesn't actually sort, but instead constructs a sorting type which you call `Sort()` on. * Sort allocations for plugins by modify index. Present allocations in modify index order so that newest allocations show up at the top of the list. This results in sorted allocs in `nomad plugin status :id`, just like `nomad job status :id`. * Sort allocations for volumes in HTTP response. Present allocations in modify index order so that newest allocations show up at the top of the list. This results in sorted allocs in `nomad volume status :id`, just like `nomad job status :id`. This is implemented in the HTTP response and not in the state store because the state store maintains two separate lists of allocs that are merged before sending over the API. * Fix length of alloc IDs in `nomad volume status` output |
||
---|---|---|
.. | ||
paginator | ||
autopilot.go | ||
autopilot_test.go | ||
deployment_events_test.go | ||
events.go | ||
events_test.go | ||
iterator.go | ||
schema.go | ||
schema_test.go | ||
state_changes.go | ||
state_store.go | ||
state_store_oss.go | ||
state_store_restore.go | ||
state_store_restore_test.go | ||
state_store_test.go | ||
testing.go |