cloudfoundry/cloud_controller_ng

View on GitHub
lib/cloud_controller/deployment_updater/dispatcher.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method dispatch has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def dispatch
          logger = Steno.logger('cc.deployment_updater.update')
          logger.info('run-deployment-update')

          deployments_to_scale = DeploymentModel.where(state: DeploymentModel::DEPLOYING_STATE).all
Severity: Minor
Found in lib/cloud_controller/deployment_updater/dispatcher.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status