theforeman/foreman

View on GitHub
webpack/assets/javascripts/compute_resource/vmware.js

Summary

Maintainability
A
1 hr
Test Coverage

Function fetchResourcePools has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function fetchResourcePools(url, clusterId) {
  // eslint-disable-next-line camelcase
  const data = { cluster_id: clusterId };
  const $selectbox = $('select[id$="resource_pool"]');

Severity: Minor
Found in webpack/assets/javascripts/compute_resource/vmware.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status