Page MenuHomePhabricator

[keyserver] Extract deleteBackup
ClosedPublic

Authored by ashoat on Jun 15 2022, 5:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 12:39 PM
Unknown Object (File)
Fri, Nov 22, 12:39 PM
Unknown Object (File)
Fri, Nov 22, 12:39 PM
Unknown Object (File)
Fri, Nov 22, 12:39 PM
Unknown Object (File)
Fri, Nov 22, 12:38 PM
Unknown Object (File)
Fri, Nov 8, 4:35 PM
Unknown Object (File)
Fri, Nov 8, 10:40 AM
Unknown Object (File)
Fri, Nov 8, 10:23 AM
Subscribers

Details

Summary

Working on ENG-1234, which will also require deleting old backups. Figured I'd extract this code.

Test Plan

Tested in combination with the next diff

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

abosh added inline comments.
keyserver/src/cron/backups.js
197 ↗(On Diff #13536)

Couldn’t this be renamed to sortedBackupInfos so it’s clearer on line 201 why its first index is being accessed?

This revision is now accepted and ready to land.Jun 15 2022, 8:39 PM
This revision was automatically updated to reflect the committed changes.