open-consul/agent/structs
preetapan f6066f8305 Fixes agent error handling when check definition is invalid. Distingu… (#3560)
* Fixes agent error handling when check definition is invalid. Distinguishes between empty checks vs invalid checks

* Made CheckTypes return Checks from service definition struct rather than a new copy, and other changes from code review. This also errors when json payload contains empty structs

* Simplify and improve validate method, and make sure that CheckTypes always returns a new copy of validated check definitions

* Tweaks some small style things and error messages.

* Updates the change log.
2017-10-10 16:54:06 -07:00
..
acl.go
acl_test.go
catalog.go
check_definition.go Clean up subprocess handling and make shell use optional (#3509) 2017-10-04 16:48:00 -07:00
check_definition_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
check_type.go Fixes agent error handling when check definition is invalid. Distingu… (#3560) 2017-10-10 16:54:06 -07:00
errors.go Makes RPC handling more robust when rolling servers. (#3561) 2017-10-10 15:19:50 -07:00
operator.go Move Raft protocol version for list peers end point to server side, fix unit tests. This fixes #3449 2017-09-26 09:35:39 -05:00
operator_test.go
prepared_query.go
prepared_query_test.go
service_definition.go Fixes agent error handling when check definition is invalid. Distingu… (#3560) 2017-10-10 16:54:06 -07:00
service_definition_test.go Fixes agent error handling when check definition is invalid. Distingu… (#3560) 2017-10-10 16:54:06 -07:00
snapshot.go
structs.go Shows the segment name in the keyring API and command output. 2017-09-07 12:17:39 -07:00
structs_test.go
txn.go