moby/api/server
Stephen Rust d394113dfe 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>
(cherry picked from commit c358a4cd35)
2015-07-30 17:21:20 -07:00
..
form.go Remove duplicated code parsing parameters for the archiving handlers. 2015-07-22 12:39:46 -07:00
form_test.go Fix regression in stats API endpoint where stream query param default is true 2015-05-29 22:38:36 +02:00
profiler.go api/server: fix profiler HTTP serving 2015-04-02 09:53:40 +03:00
server.go Keep backwards compatibility in kill api. 2015-07-29 16:44:21 -07:00
server_experimental.go attaching services api and UI chain to docker parent 2015-06-19 09:19:09 -07:00
server_linux.go Check for nil before using HostConfig to adjustCpuShares 2015-07-30 17:21:20 -07:00
server_linux_test.go Adjust disallowed CpuShares in /containers/create 2015-06-04 17:19:39 -07:00
server_stub.go register libnetwork API and UI with docker parent chain 2015-06-18 12:07:58 -07:00
server_windows.go register libnetwork API and UI with docker parent chain 2015-06-18 12:07:58 -07:00