app/javascript/components/ems_container_dashboard/helper.js
Function getAggStatusInfo
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const getAggStatusInfo = (data, providerId) => {
const attributes = ['nodes', 'containers', 'registries', 'projects', 'pods', 'services', 'images', 'routes'];
const attrHsh = {
nodes: __('Nodes'),
containers: __('Containers'),
- Create a ticketCreate a ticket