cloudfoundry/cloud_controller_ng

View on GitHub
app/controllers/runtime/app_bits_upload_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method upload has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def upload(guid)
      process = find_guid_and_validate_access(:upload, guid)

      raise CloudController::Errors::ApiError.new_from_details('UnprocessableEntity', 'cannot upload bits to a docker app') if process.docker?

Severity: Minor
Found in app/controllers/runtime/app_bits_upload_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status