Page MenuHomePhabricator

[keyserver] Extract deleteBackup
ClosedPublic

Authored by ashoat on Jun 15 2022, 5:40 PM.
Tags
None
Referenced Files
F3378029: D4282.id13536.diff
Wed, Nov 27, 8:40 AM
Unknown Object (File)
Sun, Nov 24, 10:55 PM
Unknown Object (File)
Sun, Nov 24, 10:55 PM
Unknown Object (File)
Sun, Nov 24, 5:49 AM
Unknown Object (File)
Sun, Nov 24, 1:11 AM
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
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

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.