1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api
Hu Keping e9602f3561 Use TrimSpace to instead of Trim
String.Trim(string, " ") can only get ride of the blank, but actully we need
to remove all leading and trailing white space include "\t" for example.

Prior to this patch, one can login with "[Tab][Tab]username", and it will
not be consider as the same with "username".

Signed-off-by: Hu Keping <hukeping@huawei.com>
2015-09-09 19:37:33 +08:00
..
client Use TrimSpace to instead of Trim 2015-09-09 19:37:33 +08:00
fixtures Add more unit tests (thus coverage) to pkg api 2015-08-04 19:51:02 +02:00
server Merge pull request #15798 from calavera/volume_driver_host_config 2015-09-08 22:05:40 -04:00
types Merge pull request #15798 from calavera/volume_driver_host_config 2015-09-08 22:05:40 -04:00
common.go fix golint errors/warnings of pkg api/ 2015-07-30 09:46:25 +08:00
common_test.go Add more unit tests (thus coverage) to pkg api 2015-08-04 19:51:02 +02:00
README.md Update README.md 2014-07-04 18:21:13 +09:00

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