浏览代码

Add missing IPAM options to v2.2 spec

Signed-off-by: Joffrey F <[email protected]>
Joffrey F 8 年之前
父节点
当前提交
5b3b6ebf94
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      compose/config/config_schema_v2.2.json

+ 7 - 0
compose/config/config_schema_v2.2.json

@@ -300,6 +300,13 @@
                 "driver": {"type": "string"},
                 "config": {
                     "type": "array"
+                },
+                "options": {
+                  "type": "object",
+                  "patternProperties": {
+                    "^.+$": {"type": "string"}
+                  },
+                  "additionalProperties": false
                 }
             },
             "additionalProperties": false