open-consul/agent/consul/state
Chris Piraino 1173b31949
Return early from updateGatewayServices if nothing to update (#7838)
* Return early from updateGatewayServices if nothing to update

Previously, we returned an empty slice of gatewayServices, which caused
us to accidentally delete everything in the memdb table

* PR comment and better formatting
2020-05-11 14:46:48 -05:00
..
acl.go Catalog + Namespace OSS changes. (#7219) 2020-02-10 10:40:44 -05:00
acl_oss.go AuthMethod updates to support alternate namespace logins (#7029) 2020-01-14 10:09:29 -05:00
acl_test.go AuthMethod updates to support alternate namespace logins (#7029) 2020-01-14 10:09:29 -05:00
autopilot.go fix ignored errors in state store internals as reported by errcheck 2019-03-01 14:18:00 -06:00
autopilot_test.go Move autopilot to a standalone package 2017-12-11 16:45:33 -08:00
catalog.go Return early from updateGatewayServices if nothing to update (#7838) 2020-05-11 14:46:48 -05:00
catalog_oss.go Terminating gateway discovery (#7571) 2020-04-08 12:37:24 -06:00
catalog_test.go Return early from updateGatewayServices if nothing to update (#7838) 2020-05-11 14:46:48 -05:00
config_entry.go Restoring config entries updates the gateway-services table (#7811) 2020-05-08 13:24:33 -05:00
config_entry_oss.go Restoring config entries updates the gateway-services table (#7811) 2020-05-08 13:24:33 -05:00
config_entry_test.go Restoring config entries updates the gateway-services table (#7811) 2020-05-08 13:24:33 -05:00
connect_ca.go connect: derive connect certificate serial numbers from a memdb index instead of the provider table max index (#7011) 2020-01-09 16:32:19 +01:00
connect_ca_test.go connect: derive connect certificate serial numbers from a memdb index instead of the provider table max index (#7011) 2020-01-09 16:32:19 +01:00
coordinate.go Creates a registration mechanism for schemas. 2017-11-29 18:36:52 -08:00
coordinate_test.go Fill out the tests around coordinate/node functionality 2017-10-31 15:36:44 -07:00
delay.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
delay_test.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
federation_state.go wan federation via mesh gateways (#6884) 2020-03-09 15:59:02 -05:00
graveyard.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
graveyard_oss.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
graveyard_test.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
index_connect.go Add Proxy Upstreams to Service Definition (#4639) 2018-10-10 16:55:34 +01:00
index_connect_test.go Add Proxy Upstreams to Service Definition (#4639) 2018-10-10 16:55:34 +01:00
index_service_kind.go Implement Mesh Gateways 2019-07-01 16:28:30 -04:00
intention.go Intentions ACL enforcement updates (#7028) 2020-01-13 15:51:40 -05:00
intention_test.go fix typos reported by golangci-lint:misspell (#5434) 2019-03-06 11:13:28 -06:00
kvs.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
kvs_oss.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
kvs_test.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
operations_oss.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
prepared_query.go OSS Modifications necessary for sessions namespacing 2019-11-25 12:07:04 -05:00
prepared_query_index.go pkg refactor 2017-06-10 18:52:45 +02:00
prepared_query_index_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
prepared_query_test.go OSS Modifications necessary for sessions namespacing 2019-11-25 12:07:04 -05:00
schema.go Creates a registration mechanism for schemas. 2017-11-29 18:36:52 -08:00
schema_test.go pkg refactor 2017-06-10 18:52:45 +02:00
session.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
session_oss.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
session_test.go Remove outdated TODO (#7244) 2020-02-07 13:14:48 -07:00
state_store.go agent: increase watchLimit to 8192. (#7200) 2020-02-04 13:11:30 +01:00
state_store_oss_test.go Updates to Config Entries and Connect for Namespaces (#7116) 2020-01-24 10:04:58 -05:00
state_store_test.go Ingress Gateways for TCP services (#7509) 2020-04-16 14:00:48 -07:00
tombstone_gc.go Sheds monotonic time info so tombstone GC bins work properly. 2017-11-29 10:34:24 -08:00
tombstone_gc_test.go Sheds monotonic time info so tombstone GC bins work properly. 2017-11-29 10:34:24 -08:00
txn.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
txn_test.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00