mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +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;
|
||||
|
||||
const recordToRemove = syncRecordsByExternalId.get(secretName);
|
||||
if (recordToRemove?.id) {
|
||||
await certificateSyncDAL.updateById(recordToRemove.id, {
|
||||
syncStatus: CertificateSyncStatus.Failed
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
result.failedRemovals += 1;
|
||||
result.details?.failedRemovals?.push({
|
||||
|
||||
Reference in New Issue
Block a user