Skip to content

Commit

Permalink
prevent double negatives
Browse files Browse the repository at this point in the history
  • Loading branch information
kathap committed Jan 18, 2024
1 parent dcfcb27 commit 04dcf92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions jobs/cloud_controller_ng/spec
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ provides:
- uaa.clients.cc_routing.secret
- cc.experimental.use_puma_webserver
- cc.experimental.use_redis
- cc.experimental.disable_statsd_metrics
- cc.experimental.enable_statsd_metrics

consumes:
- name: database
Expand Down Expand Up @@ -1202,10 +1202,9 @@ properties:
description: "Use co-deployed Redis for rate limiting and metrics. If the Puma webserver is enabled, Redis will automatically be used."
default: false

cc.experimental.disable_statsd_metrics:
description: "Use prometheus metrics, disable statsd metrics on api vms."
default: false

cc.experimental.enable_statsd_metrics:
description: "Use statsd metrics on api vms."
default: true

cc.puma.workers:
description: "Number of workers for Puma webserver."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ allowed_cors_domains: <%= p("cc.allowed_cors_domains").to_json %>

statsd_host: <%= p("cc.statsd_host") %>
statsd_port: <%= p("cc.statsd_port") %>
disable_statsd_metrics: <%= p("cc.experimental.disable_statsd_metrics") %>
enable_statsd_metrics: <%= p("cc.experimental.enable_statsd_metrics") %>

security_event_logging:
enabled: <%= p("cc.security_event_logging.enabled") %>
Expand Down

0 comments on commit 04dcf92

Please sign in to comment.