Browse code

Update response content for volume mounts

Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>

Kai Qiang Wu(Kennan) authored on 2016/01/12 14:13:44
Showing 2 changed files
... ...
@@ -220,10 +220,13 @@ Create a container
220 220
            },
221 221
            "Mounts": [
222 222
              {
223
+               "Name": "fac362...80535",
223 224
                "Source": "/data",
224 225
                "Destination": "/data",
226
+               "Driver": "local",
225 227
                "Mode": "ro,Z",
226
-               "RW": false
228
+               "RW": false,
229
+               "Propagation": ""
227 230
              }
228 231
            ],
229 232
            "WorkingDir": "",
... ...
@@ -572,10 +575,13 @@ Return low-level information on the container `id`
572 572
 		},
573 573
 		"Mounts": [
574 574
 			{
575
+				"Name": "fac362...80535",
575 576
 				"Source": "/data",
576 577
 				"Destination": "/data",
578
+				"Driver": "local",
577 579
 				"Mode": "ro,Z",
578
-				"RW": false
580
+				"RW": false,
581
+				"Propagation": ""
579 582
 			}
580 583
 		]
581 584
 	}
... ...
@@ -73,7 +73,8 @@ volumes. The output should look something similar to the following:
73 73
             "Destination": "/webapp",
74 74
             "Driver": "local",
75 75
             "Mode": "",
76
-            "RW": true
76
+            "RW": true,
77
+            "Propagation": ""
77 78
         }
78 79
     ]
79 80
     ...