Page MenuHomePhabricator

[keyserver] Introduce assertValidDBType
ClosedPublic

Authored by ashoat on Aug 15 2022, 12:37 PM.
Tags
None
Referenced Files
F2191153: D4832.id15620.diff
Thu, Jul 4, 2:12 PM
Unknown Object (File)
Tue, Jul 2, 8:55 AM
Unknown Object (File)
Tue, Jul 2, 7:46 AM
Unknown Object (File)
Mon, Jul 1, 6:41 PM
Unknown Object (File)
Mon, Jul 1, 12:14 AM
Unknown Object (File)
Wed, Jun 26, 12:55 AM
Unknown Object (File)
Wed, Jun 26, 12:54 AM
Unknown Object (File)
Wed, Jun 19, 10:48 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.