Skip to content

Commit

Permalink
ENG-5042 remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ichalagashvili committed Sep 12, 2023
1 parent 5f8a652 commit 8e917d7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/state/component-repository/components/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,7 @@ export const pollECRComponentUninstallStatus = (componentCode, stepFunction, pol
const {
payload,
} = response;
console.log('pollECRComponentUninstallStatus response', response);
if (payload.status === ECR_COMPONENT_UNINSTALLATION_STATUS_COMPLETED) {
console.log('pollECRComponentUninstallStatus completed');
dispatch(finishComponentUninstall(componentCode));
dispatch(fetchSelectedBundleStatusWithCode(componentCode));
dispatch(fetchMfeConfigList());
Expand Down Expand Up @@ -474,7 +472,6 @@ export const pollECRComponentCurrentUninstallJob =
(componentCode, stepFunction) =>
dispatch => (
new Promise((resolve, reject) => {
console.log('pollECRComponentCurrentUninstallJob starte');
dispatch(startComponentUninstall(componentCode));
pollApi({
apiFn: () => getECRComponentCurrentJobStatus(componentCode),
Expand All @@ -490,7 +487,6 @@ export const pollECRComponentCurrentUninstallJob =
}
})
.catch((res) => {
console.log('pollECRComponentCurrentUninstallJob got 404 so started normal poll');
dispatch(pollECRComponentUninstallStatus(componentCode, stepFunction, true));
resolve(res);
})
Expand Down Expand Up @@ -559,7 +555,6 @@ export const fetchECRComponents = (paginationMetadata = {
} else if (
lastJob && lastJob.status === ECR_COMPONENT_UNINSTALLATION_STATUS_IN_PROGRESS
) {
console.log('lastJob', lastJob);
dispatch(pollECRComponentCurrentUninstallJob(
lastJob.componentId,
pollStepFunction,
Expand Down

0 comments on commit 8e917d7

Please sign in to comment.