portainer/portainer

View on GitHub
app/kubernetes/helm/rest.js

Summary

Maintainability
A
1 hr
Test Coverage

Function HelmFactory has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function HelmFactory($resource, API_ENDPOINT_ENDPOINTS, API_ENDPOINT_USERS) {
  const helmUrl = API_ENDPOINT_ENDPOINTS + '/:endpointId/kubernetes/helm';
  const templatesUrl = 'api/templates/helm';
  const userHelmUrl = API_ENDPOINT_USERS + '/:userId/helm';

Severity: Minor
Found in app/kubernetes/helm/rest.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status