mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 14:27:59 +00:00
Remove unused state change on aws cert removals
This commit is contained in:
@@ -462,13 +462,6 @@ export const awsSecretsManagerPkiSyncFactory = ({
|
|||||||
);
|
);
|
||||||
|
|
||||||
result.removed += 1;
|
result.removed += 1;
|
||||||
|
|
||||||
const recordToRemove = syncRecordsByExternalId.get(secretName);
|
|
||||||
if (recordToRemove?.id) {
|
|
||||||
await certificateSyncDAL.updateById(recordToRemove.id, {
|
|
||||||
syncStatus: CertificateSyncStatus.Failed
|
|
||||||
});
|
|
||||||
}
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
result.failedRemovals += 1;
|
result.failedRemovals += 1;
|
||||||
result.details?.failedRemovals?.push({
|
result.details?.failedRemovals?.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user