1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server
Stephen Rust c358a4cd35 Check for nil before using HostConfig to adjustCpuShares
Fix #14915. Add unit test for #14915.
Thanks @runcom for the test case: when the client calls 1.18 api
version w/o hostconfig it results in a nil pointer dereference.

Signed-off-by: Stephen Rust <srust@blockbridge.com>
2015-07-26 20:33:04 -04:00
..
form.go
form_test.go
profiler.go
server.go
server_experimental.go
server_linux.go Check for nil before using HostConfig to adjustCpuShares 2015-07-26 20:33:04 -04:00
server_linux_test.go
server_stub.go
server_windows.go