浏览代码

Merge pull request #17127 from gesellix/docs-filters-query

docs: fix description of `filters` param for /volumes and /networks.
Brian Goff 9 年之前
父节点
当前提交
8005dbd748
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/reference/api/docker_remote_api_v1.21.md

+ 2 - 2
docs/reference/api/docker_remote_api_v1.21.md

@@ -2419,7 +2419,7 @@ Status Codes:
 
 Query Parameters:
 
-- **filter** - JSON encoded value of the filters (a `map[string][]string`) to process on the volumes list. There is one available filter: `dangling=true`
+- **filters** - JSON encoded value of the filters (a `map[string][]string`) to process on the volumes list. There is one available filter: `dangling=true`
 
 Status Codes:
 
@@ -2554,7 +2554,7 @@ Status Codes
 
 Query Parameters:
 
-- **filter** - JSON encoded value of the filters (a `map[string][]string`) to process on the volumes list. Available filters: `name=[network-names]` , `id=[network-ids]`
+- **filters** - JSON encoded value of the filters (a `map[string][]string`) to process on the networks list. Available filters: `name=[network-names]` , `id=[network-ids]`
 
 Status Codes: