From 39a4b2a386c6993ff452581b38c829bc88d427f2 Mon Sep 17 00:00:00 2001 From: Sven Krieger <37476281+svkrieger@users.noreply.github.com> Date: Tue, 3 Dec 2024 10:54:28 +0100 Subject: [PATCH] Allow empty array in config for uaa->clients --- lib/cloud_controller/config_schemas/base/api_schema.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cloud_controller/config_schemas/base/api_schema.rb b/lib/cloud_controller/config_schemas/base/api_schema.rb index d1002caea78..3e425c48675 100644 --- a/lib/cloud_controller/config_schemas/base/api_schema.rb +++ b/lib/cloud_controller/config_schemas/base/api_schema.rb @@ -59,13 +59,13 @@ class ApiSchema < VCAP::Config :client_timeout => Integer, optional(:symmetric_secret) => String, optional(:symmetric_secret2) => String, - optional(:clients) => [ + optional(:clients) => enum([ { 'name' => String, 'id' => String, 'secret' => String } - ] + ], NilClass) }, optional(:allow_user_creation_by_org_manager) => bool,