1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api
Qiang Huang c7812f01c7 fix a minor inspect format issue
Before, inspect cont1 cont2 shows:
[{
    xxx
}
,{
    xxx
}
]
After, it shows:
[
{
   xxx
}
,{
    xxx
}
]

Because `func (*Encoder) Encode` always followed by a newline character,
so it's difficult to put '}' and ']' one the same line.

To get symmetry, above is our choice.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-04-28 18:51:04 +08:00
..
client fix a minor inspect format issue 2015-04-28 18:51:04 +08:00
server Small if err cleaning 2015-04-27 21:50:33 +02:00
types Allow go template to work properly with inspect 2015-04-23 18:25:18 +00:00
api_unit_test.go fix tests 2014-03-31 18:11:53 +00:00
common.go Small if err cleaning 2015-04-27 21:50:33 +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