diff --git a/app/javascript/react/screens/App/Settings/__tests__/__snapshots__/SettingsActions.test.js.snap b/app/javascript/react/screens/App/Settings/__tests__/__snapshots__/SettingsActions.test.js.snap index 4546ce5c6d..c2503ab821 100644 --- a/app/javascript/react/screens/App/Settings/__tests__/__snapshots__/SettingsActions.test.js.snap +++ b/app/javascript/react/screens/App/Settings/__tests__/__snapshots__/SettingsActions.test.js.snap @@ -80,7 +80,6 @@ Array [ "cpu_limit_per_host": 10, "max_concurrent_tasks_per_ems": 10, "max_concurrent_tasks_per_host": 10, - "network_limit_per_host": 10, }, }, }, @@ -119,7 +118,6 @@ Array [ "cpu_limit_per_host": 10, "max_concurrent_tasks_per_ems": 10, "max_concurrent_tasks_per_host": 10, - "network_limit_per_host": 10, }, }, }, diff --git a/app/javascript/react/screens/App/Settings/__tests__/__snapshots__/SettingsReducer.test.js.snap b/app/javascript/react/screens/App/Settings/__tests__/__snapshots__/SettingsReducer.test.js.snap index cc4e0e5d31..2032d9a242 100644 --- a/app/javascript/react/screens/App/Settings/__tests__/__snapshots__/SettingsReducer.test.js.snap +++ b/app/javascript/react/screens/App/Settings/__tests__/__snapshots__/SettingsReducer.test.js.snap @@ -314,7 +314,6 @@ Object { "cpu_limit_per_host": 10, "max_concurrent_tasks_per_ems": 10, "max_concurrent_tasks_per_host": 10, - "network_limit_per_host": 10, }, "savingSettingsRejected": false, "servers": Array [], @@ -436,7 +435,6 @@ Object { "cpu_limit_per_host": 10, "max_concurrent_tasks_per_ems": 10, "max_concurrent_tasks_per_host": 10, - "network_limit_per_host": 10, }, "savingSettingsRejected": false, "servers": Array [], diff --git a/app/javascript/react/screens/App/Settings/helpers.js b/app/javascript/react/screens/App/Settings/helpers.js index 81a22d2b79..f91a161c91 100644 --- a/app/javascript/react/screens/App/Settings/helpers.js +++ b/app/javascript/react/screens/App/Settings/helpers.js @@ -4,8 +4,7 @@ import { RHV, OPENSTACK } from '../../../../common/constants'; export const getFormValuesFromApiSettings = payload => ({ max_concurrent_tasks_per_host: payload.transformation.limits.max_concurrent_tasks_per_host, max_concurrent_tasks_per_ems: payload.transformation.limits.max_concurrent_tasks_per_ems, - cpu_limit_per_host: payload.transformation.limits.cpu_limit_per_host, - network_limit_per_host: payload.transformation.limits.network_limit_per_host + cpu_limit_per_host: payload.transformation.limits.cpu_limit_per_host }); export const getApiSettingsFromFormValues = values => ({ @@ -13,8 +12,7 @@ export const getApiSettingsFromFormValues = values => ({ limits: { max_concurrent_tasks_per_host: values.max_concurrent_tasks_per_host, max_concurrent_tasks_per_ems: values.max_concurrent_tasks_per_ems, - cpu_limit_per_host: values.cpu_limit_per_host, - network_limit_per_host: values.network_limit_per_host + cpu_limit_per_host: values.cpu_limit_per_host } } }); diff --git a/app/javascript/react/screens/App/Settings/screens/GeneralSettings/GeneralSettings.js b/app/javascript/react/screens/App/Settings/screens/GeneralSettings/GeneralSettings.js index bdfbe4f063..9d7c28103e 100644 --- a/app/javascript/react/screens/App/Settings/screens/GeneralSettings/GeneralSettings.js +++ b/app/javascript/react/screens/App/Settings/screens/GeneralSettings/GeneralSettings.js @@ -126,16 +126,6 @@ export class GeneralSettings extends React.Component { inputEnabledFunction={inputEnabledFunction} initialUncheckedValue="unlimited" /> -