diff --git a/src/bosh-director/lib/bosh/director/api/config_manager.rb b/src/bosh-director/lib/bosh/director/api/config_manager.rb index 1516192c12a..521e31d1cdd 100644 --- a/src/bosh-director/lib/bosh/director/api/config_manager.rb +++ b/src/bosh-director/lib/bosh/director/api/config_manager.rb @@ -14,7 +14,7 @@ def create(type, name, config_yaml, team_id = nil) end def deploy_config_enabled? - deploy_config = find(type: 'deploy', limit: 999) + deploy_config = find(type: 'deploy') return !deploy_config.empty? end