fix(mongodb): support legacy driver fallback
This commit is contained in:
1 parent
090f073206
commit
7bb869d398
13 files changed
+205
-72
No files matched your search
@@ -8,6 +8,7 @@ export interface AgentDriverInstallState {
|
||||
|
||||
function agentDriverInstallKey(dbType: DatabaseType | undefined, driverProfile?: string): string | undefined {
|
||||
if (dbType === "oracle") return "oracle";
|
||||
if (dbType === "mongodb") return "mongodb";
|
||||
return driverProfile && driverProfile !== dbType ? driverProfile : dbType;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user