patroni slots is not an array but a nested hash map

This commit is contained in:
Felix Kunde
2019-11-26 11:16:02 +01:00
parent abaae95bac
commit 5f19587dda
4 changed files with 32 additions and 32 deletions
+2 -2
View File
@@ -263,8 +263,8 @@ var postgresCRDResourceValidation = apiextv1beta1.JSONSchemaProps{
},
},
"slots": {
Type: "array",
Items: &apiextv1beta1.JSONSchemaPropsOrArray{
Type: "object",
AdditionalProperties: &apiextv1beta1.JSONSchemaPropsOrBool{
Schema: &apiextv1beta1.JSONSchemaProps{
Type: "object",
AdditionalProperties: &apiextv1beta1.JSONSchemaPropsOrBool{