Page MenuHomePhabricator

[keyserver] Introduce assertValidDBType
ClosedPublic

Authored by ashoat on Aug 15 2022, 12:37 PM.
Tags
None
Referenced Files
F3540365: D4832.id15652.diff
Thu, Dec 26, 4:48 AM
F3531894: D4832.id15652.diff
Wed, Dec 25, 8:15 AM
Unknown Object (File)
Sun, Dec 15, 7:39 PM
Unknown Object (File)
Sun, Dec 15, 7:39 PM
Unknown Object (File)
Sun, Dec 15, 7:38 PM
Unknown Object (File)
Sun, Dec 15, 7:27 AM
Unknown Object (File)
Sun, Dec 15, 7:27 AM
Unknown Object (File)
Sun, Dec 15, 7:27 AM

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.