open-nomad/nomad/state
Luiz Aoqui b1809eb48c
Fix CSI volume list with prefix and * namespace (#12184)
When using a prefix value and the * wildcard for namespace, the endpoint
would not take the prefix value into consideration due to the order in
which the checks were executed but also the logic for retrieving volumes
from the state store.

This commit changes the order to check for a prefix first and wraps the
result iterator of the state store query in a filter to apply the
prefix.
2022-03-03 17:27:04 -05:00
..
autopilot.go remove node events for state track changing pr 2020-09-04 10:23:35 -04:00
autopilot_test.go implement MinQuorum 2020-02-16 16:04:59 -06:00
deployment_events_test.go events: fix wildcard namespace handling (#10935) 2021-09-02 09:36:55 -07:00
events.go restored Node.Sanitize() for RPC endpoints 2021-03-26 17:03:15 +00:00
events_test.go Node Drain Metadata (#10250) 2021-05-07 13:58:40 -04:00
filter_test.go api: paginated results with different ordering (#12128) 2022-03-01 15:36:49 -05:00
iterator.go csi: use node MaxVolumes during scheduling (#7565) 2020-03-31 17:16:47 -04:00
paginator.go api: paginated results with different ordering (#12128) 2022-03-01 15:36:49 -05:00
paginator_test.go api: paginated results with different ordering (#12128) 2022-03-01 15:36:49 -05:00
schema.go api: paginated results with different ordering (#12128) 2022-03-01 15:36:49 -05:00
schema_test.go remove event durability (#9147) 2020-10-22 12:21:03 -04:00
state_changes.go events: Use single eventsFromChanges func (#9281) 2020-11-05 13:06:52 -08:00
state_store.go Fix CSI volume list with prefix and * namespace (#12184) 2022-03-03 17:27:04 -05:00
state_store_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
state_store_restore.go state: move restore functionality into its own file. 2022-01-24 13:03:03 +01:00
state_store_restore_test.go state: move restore functionality into its own file. 2022-01-24 13:03:03 +01:00
state_store_test.go csi: fix broken test (#12110) 2022-02-23 13:48:39 -05:00
testing.go csi: ensure that PastClaims are populated with correct mode (#11932) 2022-01-27 10:05:41 -05:00