moby--moby/api
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
..
client Rename to flags and environment variables to content trust 2015-07-24 16:31:18 -07:00
server Check for nil before using HostConfig to adjustCpuShares 2015-07-26 20:33:04 -04:00
types
README.md
api_unit_test.go
common.go

README.md

This directory contains code pertaining to the Docker API:

  • Used by the docker client when communicating with the docker daemon

  • Used by third party tools wishing to interface with the docker daemon