fix: make plugin database getDatabaseName private
Signed-off-by: Minn Soe <contributions@minn.io>
This commit is contained in:
@@ -273,7 +273,6 @@ export class PluginConnectionDatabaseManager {
|
||||
static readonly DEFAULT_PREFIX = "backstage_plugin_";
|
||||
forPlugin(pluginId: string): PluginDatabaseManager;
|
||||
static fromConfig(config: Config): PluginConnectionDatabaseManager;
|
||||
getDatabaseName(pluginId: string): string;
|
||||
}
|
||||
|
||||
// @public
|
||||
|
||||
@@ -75,7 +75,7 @@ export class PluginConnectionDatabaseManager {
|
||||
*
|
||||
* @param pluginId Lookup the database name for given plugin
|
||||
*/
|
||||
getDatabaseName(pluginId: string): string {
|
||||
private getDatabaseName(pluginId: string): string {
|
||||
const pluginConfig: Config = this.getConfigForPlugin(pluginId);
|
||||
|
||||
// determine root sqlite config to pass through as this is a special case
|
||||
|
||||
Reference in New Issue
Block a user