Skip to content

Commit ff58887

Browse files
committed
Allow empty array in config for uaa->clients
1 parent e172d29 commit ff58887

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cloud_controller/config_schemas/base/api_schema.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ class ApiSchema < VCAP::Config
5959
:client_timeout => Integer,
6060
optional(:symmetric_secret) => String,
6161
optional(:symmetric_secret2) => String,
62-
optional(:clients) => [
62+
optional(:clients) => enum([
6363
{
6464
'name' => String,
6565
'id' => String,
6666
'secret' => String
6767
}
68-
]
68+
], NilClass)
6969
},
7070

7171
optional(:allow_user_creation_by_org_manager) => bool,

0 commit comments

Comments
 (0)