cloudfoundry/stratos

View on GitHub
src/frontend/packages/cloud-foundry/src/store/reducers/create-service-instance.reducer.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function createServiceInstanceReducer has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function createServiceInstanceReducer(state: CreateServiceInstanceState = defaultState, action): CreateServiceInstanceState {
  switch (action.type) {
    case SET_SERVICE_PLAN:
      return { ...state, servicePlanGuid: action.servicePlanGuid };
    case SET_ORG:

    There are no issues that match your filters.

    Category
    Status