Browse Source

Fix config schemas (misplaced "additionalProperties")

Signed-off-by: Joffrey F <[email protected]>
Joffrey F 8 years ago
parent
commit
e063c5739f

+ 3 - 3
compose/config/config_schema_v2.0.json

@@ -276,9 +276,9 @@
           "type": ["boolean", "object"],
           "properties": {
             "name": {"type": "string"}
-          }
-        },
-        "additionalProperties": false
+          },
+          "additionalProperties": false
+        }
       },
       "additionalProperties": false
     },

+ 3 - 3
compose/config/config_schema_v2.1.json

@@ -322,10 +322,10 @@
           "type": ["boolean", "object"],
           "properties": {
             "name": {"type": "string"}
-          }
+          },
+          "additionalProperties": false
         },
-        "labels": {"$ref": "#/definitions/list_or_dict"},
-        "additionalProperties": false
+        "labels": {"$ref": "#/definitions/list_or_dict"}
       },
       "additionalProperties": false
     },

+ 2 - 1
compose/config/config_schema_v3.0.json

@@ -328,7 +328,8 @@
           "type": ["boolean", "object"],
           "properties": {
             "name": {"type": "string"}
-          }
+          },
+          "additionalProperties": false
         }
       },
       "labels": {"$ref": "#/definitions/list_or_dict"},