open-nomad/client
Mahmood Ali 2acf30fdd3 Fallback to alloc.TaskResources for old allocs
When a client is running against an old server (e.g. running 0.8),
`alloc.AllocatedResources` may be nil, and we need to check the
deprecated `alloc.TaskResources` instead.

Fixes https://github.com/hashicorp/nomad/issues/5810
2019-06-11 10:32:53 -04:00
..
allocdir goimports 2019-01-22 15:44:31 -08:00
allochealth client: fix setting alloc unhealthy at deadline 2019-02-19 07:44:14 -08:00
allocrunner Fallback to alloc.TaskResources for old allocs 2019-06-11 10:32:53 -04:00
allocwatcher goimports 2019-01-22 15:44:31 -08:00
config client config flag to disable remote exec 2019-06-03 15:31:39 -04:00
consul test: add some extra logging 2019-01-14 09:56:53 -08:00
devicemanager test: fix NewMemDB API change 2019-03-04 13:37:20 -08:00
fingerprint Merge pull request #5553 from hashicorp/b-fingerprinter-manual-config 2019-04-26 12:55:34 -04:00
interfaces
lib tests: fix fifo lib race 2019-05-21 09:49:56 -04:00
logmon logmon: remove syslog server deadcode 2019-05-21 09:36:43 -04:00
pluginmanager implement client endpoint of nomad exec 2019-05-09 16:49:08 -04:00
servers client: drop unused DC field from servers list 2019-05-20 14:19:15 -07:00
state test: fix NewMemDB API change 2019-03-04 13:37:20 -08:00
stats
structs Prepare for 0.9.3 dev cycle 2019-06-05 14:54:00 +00:00
taskenv client: handle 0.8 server network resources 2019-05-02 12:08:38 -04:00
testutil tests: expect Docker on AppVeyor 2019-02-20 07:41:47 -05:00
vaultclient vault: fix data races 2019-04-16 11:22:44 -07:00
acl.go aux: helper method that returns token as well as ACL policy 2019-04-30 10:23:56 -04:00
acl_test.go
alloc_endpoint.go client config flag to disable remote exec 2019-06-03 15:31:39 -04:00
alloc_endpoint_test.go client config flag to disable remote exec 2019-06-03 15:31:39 -04:00
alloc_watcher_e2e_test.go tests: enable and fix tests requiring mock driver 2019-01-10 10:10:11 -05:00
client.go Merge pull request #5731 from hashicorp/b-ignore-dc 2019-05-22 08:42:15 -07:00
client_stats_endpoint.go
client_stats_endpoint_test.go
client_test.go Merge pull request #5642 from hashicorp/b-network-fingerprinting-ipv4 2019-05-13 11:46:53 -04:00
driver_manager_test.go tests: fix data race in client TestDriverManager_Fingerprint_Periodic 2019-05-21 09:49:56 -04:00
fingerprint_manager.go goimports until make check is happy 2019-01-23 06:27:14 -08:00
fingerprint_manager_test.go
fs_endpoint.go implement client endpoint of nomad exec 2019-05-09 16:49:08 -04:00
fs_endpoint_test.go tests: fix client TestFS_Stream data race 2019-05-21 09:49:56 -04:00
gc.go Plugins use parent loggers 2019-01-11 11:36:37 -08:00
gc_test.go
node_updater.go client: wait for batched driver updated 2019-04-19 09:00:24 -04:00
rpc.go implement client endpoint of nomad exec 2019-05-09 16:49:08 -04:00
rpc_test.go
testing.go goimports until make check is happy 2019-01-23 06:27:14 -08:00
util.go client: avoid registering node twice right away 2019-04-19 09:12:50 -04:00
util_test.go