Browse code

Update documentations for `Warnings` fields in `GET /volumes` API

This fix updated documentations to add the `Warnings` fields in
`GET /volumes` API.

The `Warnings` has been part of the `GET /volumes` API response
since Docker 1.10 (v1.21). However, the `Warnings` field is not
in the documentation so there are some confusions (See #21606).

This fix updated the related documentations in v1.22, v1.23, and
v1.24 and added this field to the API.

This fix is related to #21605.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

Yong Tang authored on 2016/03/30 10:35:39
Showing 3 changed files
... ...
@@ -2789,7 +2789,8 @@ Status Codes:
2789 2789
           "Driver": "local",
2790 2790
           "Mountpoint": "/var/lib/docker/volumes/tardis"
2791 2791
         }
2792
-      ]
2792
+      ],
2793
+      "Warnings": []
2793 2794
     }
2794 2795
 
2795 2796
 Query Parameters:
... ...
@@ -2832,7 +2832,8 @@ Status Codes:
2832 2832
           "Driver": "local",
2833 2833
           "Mountpoint": "/var/lib/docker/volumes/tardis"
2834 2834
         }
2835
-      ]
2835
+      ],
2836
+      "Warnings": []
2836 2837
     }
2837 2838
 
2838 2839
 Query Parameters:
... ...
@@ -2836,7 +2836,8 @@ Status Codes:
2836 2836
           "Driver": "local",
2837 2837
           "Mountpoint": "/var/lib/docker/volumes/tardis"
2838 2838
         }
2839
-      ]
2839
+      ],
2840
+      "Warnings": []
2840 2841
     }
2841 2842
 
2842 2843
 Query Parameters: