open-nomad/client
Dave Walker (Daviey) 090e760928 Don't exec uname for node attribute kernel.version
Previously with client fingerprinting, sys/exec's Command
function was being used to execute `uname -r` and the return
string processed into the kernel.version node attribute.

This change uses gopsutil/host KernelVersion function
instead.  This means we can drop the os/exec, strings and
fmt imports... and not execute an external binary.

Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2017-03-01 09:45:56 +00:00
..
allocdir Fix allocdir Move test and make code more defensive 2017-02-21 17:22:10 -08:00
config Allow random UUID 2017-02-27 13:42:37 -08:00
driver Fix caching of pull future 2017-02-28 18:19:13 -08:00
fingerprint Don't exec uname for node attribute kernel.version 2017-03-01 09:45:56 +00:00
getter Update GetArtifact by removing unused logger 2016-08-06 23:37:32 +09:00
stats Fix nil dereference 2017-01-10 14:14:58 -08:00
structs Move chroot building into TaskRunner 2017-01-05 16:31:49 -08:00
testutil Revendor docker client 2017-02-14 17:34:05 -08:00
vaultclient Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
alloc_runner.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
alloc_runner_test.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
client.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
client_test.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
consul_template.go rebase 2017-02-20 16:43:28 -08:00
consul_template_test.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
gc.go Making the GC related fields tunable 2017-01-31 15:51:20 -08:00
gc_test.go Checking in updated gc tests 2017-02-01 13:12:46 -08:00
restarts.go Thread through whether DeriveToken error is recoverable or not 2016-10-22 18:08:30 -07:00
restarts_test.go Thread through whether DeriveToken error is recoverable or not 2016-10-22 18:08:30 -07:00
serverlist.go Retry all servers on RPC call failure 2016-09-23 11:44:48 -07:00
serverlist_test.go Vendor + test fixes 2017-02-22 15:55:33 -08:00
task_runner.go Fix two issues during client restore state 2017-02-28 10:29:12 -08:00
task_runner_test.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
util.go Fix string formatting 2016-12-01 11:22:51 -08:00
util_test.go Use consul/lib's RandomStagger 2016-06-10 15:48:36 -04:00