Page MenuHomePhabricator

[keyserver] Introduce assertValidDBType
ClosedPublic

Authored by ashoat on Aug 15 2022, 12:37 PM.
Tags
None
Referenced Files
F3352422: D4832.id15620.diff
Sat, Nov 23, 5:50 AM
F3351663: D4832.diff
Sat, Nov 23, 3:03 AM
Unknown Object (File)
Fri, Nov 15, 10:29 PM
Unknown Object (File)
Sat, Nov 2, 6:32 PM
Unknown Object (File)
Sat, Nov 2, 6:32 PM
Unknown Object (File)
Sat, Nov 2, 6:31 PM
Unknown Object (File)
Sat, Nov 2, 6:21 PM
Unknown Object (File)
Fri, Oct 25, 7:28 PM

Details

Summary

This diff is a simple refactor, and should be a no-op. In the next diff I'll modify assertValidDBType to deprecate MySQL.

Test Plan
  1. Flow
  2. I ran keyserver locally and made sure things generally still worked

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Aug 16 2022, 5:34 AM

(Technically this isn't a pure refactor... if anybody had a bad DBType (neither 'mariadb10.8' nor 'mysql5.7') in their DB config previously, it previously would've defaulted to 'mysql5.7', but now will error. I think this is a good thing.)

This revision was automatically updated to reflect the committed changes.