open-nomad/command/agent
Michael Schurter 29d86eb348 Fix race in framer and improperly returned err
Fixes #3342

Two bugs were fixed:

* Closing the StreamFramer's exitCh before setting the error means other
  goroutines blocked on exitCh closing could see the error as nil. This
  was *not* observered.
* parseFramerError on Windows would fall through and return an
  improperly captured nil err variable. There's no need for
  parseFramerError to be a closure which fixes the confusion.
2017-11-30 17:42:53 -08:00
..
config-test-fixtures remove atlas 2017-11-02 11:27:21 -07:00
consul Don't set Interval on TTL health checks 2017-10-16 17:35:47 -07:00
test-resources Add test to verify order 2015-12-04 17:12:47 -08:00
acl_endpoint.go Self token lookup 2017-10-13 13:12:20 -07:00
acl_endpoint_test.go Self token lookup 2017-10-13 13:12:20 -07:00
agent.go Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
agent_endpoint.go Better client health check and error handling 2017-10-13 16:25:25 -07:00
agent_endpoint_test.go Better client health check and error handling 2017-10-13 16:25:25 -07:00
agent_test.go Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
alloc_endpoint.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
alloc_endpoint_test.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
bindata_assetfs.go generated UI routes 2017-11-10 13:29:17 -08:00
command.go Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
command_test.go Standardize retrieving a free port into a helper package 2017-10-23 16:48:20 -07:00
config.go Only publish metric when the task is running and dev mode publishes metrics 2017-11-15 13:21:06 -08:00
config_parse.go Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
config_parse_test.go remove atlas 2017-11-02 11:27:21 -07:00
config_test.go remove atlas 2017-11-02 11:27:21 -07:00
deployment_endpoint.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
deployment_endpoint_test.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
eval_endpoint.go http: list results are never null 2015-09-07 10:03:10 -07:00
eval_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
fs_endpoint.go Fix race in framer and improperly returned err 2017-11-30 17:42:53 -08:00
fs_endpoint_test.go Test all fs endpoints in a loop 2017-10-09 11:19:14 -07:00
http.go Add CORS headers to client fs endpoints 2017-11-21 11:22:42 -08:00
http_oss.go sync 2017-10-13 14:36:02 -07:00
http_test.go Nomad agent reload TLS configuration on SIGHUP (#3479) 2017-11-14 17:53:23 -08:00
job_endpoint.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
job_endpoint_test.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
keyring.go Enable serf encryption (#1791) 2016-10-17 10:48:04 -07:00
keyring_test.go Standardize retrieving a free port into a helper package 2017-10-23 16:48:20 -07:00
log_levels.go agent: start basic logging setup 2015-08-16 13:54:49 -07:00
log_levels_test.go More parallel 2017-07-20 09:36:34 -07:00
log_writer.go Enable more linters 2017-09-26 15:26:33 -07:00
log_writer_test.go More parallel 2017-07-20 09:36:34 -07:00
metrics_endpoint.go updated documentation 2017-09-13 19:21:21 +00:00
metrics_endpoint_test.go metrics test 2017-10-23 18:38:36 -07:00
node_endpoint.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
node_endpoint_test.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
operator_endpoint.go Sync namespace changes 2017-09-07 17:04:21 -07:00
operator_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
region_endpoint.go website: document regions endpoint 2015-11-24 09:38:07 -08:00
region_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
search_endpoint.go Sync namespace changes 2017-09-07 17:04:21 -07:00
search_endpoint_test.go add deployments to search api 2017-08-21 15:20:55 +00:00
stats_endpoint.go /v1/client/stats ACL enforcement 2017-10-09 12:02:32 -07:00
stats_endpoint_test.go /v1/client/stats ACL enforcement 2017-10-09 12:02:32 -07:00
status_endpoint.go http: adding status APIs 2015-09-06 18:39:03 -07:00
status_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
stub_asset.go sync 2017-09-19 10:08:23 -05:00
syslog.go meta: Fix goimports for command/agent/syslog.go 2017-07-30 08:56:40 -05:00
syslog_test.go More parallel 2017-07-20 09:36:34 -07:00
system_endpoint.go Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
system_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
testagent.go move to consul freeport implementation 2017-10-23 16:51:40 -07:00