mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-01 16:04:19 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -70,7 +70,7 @@ module Gitlab
|
||||
backup_connection = ::Backup::DatabaseConnection.new(database_connection_name)
|
||||
backup_connection.restore_timeouts!
|
||||
rescue ActiveRecord::ConnectionNotEstablished
|
||||
raise ::Backup::DatabaseBackupError.new(
|
||||
raise DatabaseBackupError.new(
|
||||
backup_connection.database_configuration.activerecord_variables,
|
||||
file_name(destination_dir, database_connection_name)
|
||||
)
|
||||
@ -245,7 +245,7 @@ module Gitlab
|
||||
# Trigger a transaction snapshot export that will be used by pg_dump later on
|
||||
backup_connection.export_snapshot!
|
||||
rescue ActiveRecord::ConnectionNotEstablished
|
||||
raise ::Backup::DatabaseBackupError.new(
|
||||
raise DatabaseBackupError.new(
|
||||
backup_connection.database_configuration.activerecord_variables,
|
||||
file_name(destination_dir, database_connection_name)
|
||||
)
|
||||
|
Reference in New Issue
Block a user