From b2e25f105779d17605f80a56b438f950eb969321 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Fri, 6 Oct 2017 14:29:03 -0400 Subject: [PATCH] Allow dns_servers to be an empty array This updates the schema validations for dns_servers so that it is valid for it to be a zero length array. Change-Id: Ie964653b5c2e40a957dab01402447da3e5e6af57 Closes-Bug: #1721845 --- os_net_config/schema.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_net_config/schema.yaml b/os_net_config/schema.yaml index ecb0e021..a32d02b1 100644 --- a/os_net_config/schema.yaml +++ b/os_net_config/schema.yaml @@ -60,7 +60,7 @@ definitions: - type: array items: $ref: "#/definitions/ip_address_string_or_param" - minItems: 1 + minItems: 0 - $ref: "#/definitions/param" ipv4_cidr_string: