7df6ec6f4f
* 0001-Default-db-name.patch OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=73
15 lines
615 B
Diff
15 lines
615 B
Diff
diff --git a/lib/MirrorCache/Config.pm b/lib/MirrorCache/Config.pm
|
|
index fb5565d..2388cf3 100644
|
|
--- a/lib/MirrorCache/Config.pm
|
|
+++ b/lib/MirrorCache/Config.pm
|
|
@@ -28,7 +28,7 @@ has dbuser => $ENV{MIRRORCACHE_DBUSER};
|
|
has dbpass => $ENV{MIRRORCACHE_DBPASS};
|
|
has dbhost => $ENV{MIRRORCACHE_DBHOST};
|
|
has dbport => $ENV{MIRRORCACHE_DBPORT};
|
|
-has dbdb => $ENV{MIRRORCACHE_DB};
|
|
+has dbdb => $ENV{MIRRORCACHE_DB} // 'mirrorcache';
|
|
has dsn => $ENV{MIRRORCACHE_DSN};
|
|
has dsn_replica => $ENV{MIRRORCACHE_DSN_REPLICA};
|
|
has redirect => $ENV{MIRRORCACHE_REDIRECT};
|
|
|