webpack/assets/javascripts/compute_resource/vmware.js
Function fetchResourcePools
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fetchResourcePools(url, clusterId) {
// eslint-disable-next-line camelcase
const data = { cluster_id: clusterId };
const $selectbox = $('select[id$="resource_pool"]');