Browse code

Move HostConfig.Mounts to correct API version

This was added in fc7b904dced4d18d49c8a6c47ae3f415d16d0c43,
but some parts of the documentation ended up in the
wrong API version, and was overlooked during
review :)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2016/09/17 09:36:07
Showing 2 changed files
... ...
@@ -334,8 +334,7 @@ Create a container
334 334
              "StorageOpt": {},
335 335
              "CgroupParent": "",
336 336
              "VolumeDriver": "",
337
-             "ShmSize": 67108864,
338
-             "Mounts": []
337
+             "ShmSize": 67108864
339 338
           },
340 339
           "NetworkingConfig": {
341 340
               "EndpointsConfig": {
... ...
@@ -611,8 +610,7 @@ Return low-level information on the container `id`
611 611
 			"VolumesFrom": null,
612 612
 			"Ulimits": [{}],
613 613
 			"VolumeDriver": "",
614
-			"ShmSize": 67108864,
615
-			"Mounts": []
614
+			"ShmSize": 67108864
616 615
 		},
617 616
 		"HostnamePath": "/var/lib/docker/containers/ba033ac4401106a3b513bc9d639eee123ad78ca3616b921167cd74b20e25ed39/hostname",
618 617
 		"HostsPath": "/var/lib/docker/containers/ba033ac4401106a3b513bc9d639eee123ad78ca3616b921167cd74b20e25ed39/hosts",
... ...
@@ -334,7 +334,8 @@ Create a container
334 334
              "StorageOpt": {},
335 335
              "CgroupParent": "",
336 336
              "VolumeDriver": "",
337
-             "ShmSize": 67108864
337
+             "ShmSize": 67108864,
338
+             "Mounts": []
338 339
           },
339 340
           "NetworkingConfig": {
340 341
               "EndpointsConfig": {
... ...
@@ -633,7 +634,8 @@ Return low-level information on the container `id`
633 633
 			"VolumesFrom": null,
634 634
 			"Ulimits": [{}],
635 635
 			"VolumeDriver": "",
636
-			"ShmSize": 67108864
636
+			"ShmSize": 67108864,
637
+			"Mounts": []
637 638
 		},
638 639
 		"HostnamePath": "/var/lib/docker/containers/ba033ac4401106a3b513bc9d639eee123ad78ca3616b921167cd74b20e25ed39/hostname",
639 640
 		"HostsPath": "/var/lib/docker/containers/ba033ac4401106a3b513bc9d639eee123ad78ca3616b921167cd74b20e25ed39/hosts",