Skip to content

Commit 15ce4e2

Browse files
committed
ned
1 parent b4e17e1 commit 15ce4e2

File tree

1 file changed

+0
-11
lines changed
  • testgres/plugins/pg_probackup2/pg_probackup2

1 file changed

+0
-11
lines changed

testgres/plugins/pg_probackup2/pg_probackup2/app.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -760,16 +760,5 @@ def archive_push(self, instance, node, wal_file_name, wal_file_path=None, option
760760
cmd = cmd + ['--wal-file-path={0}'.format(os.path.join(node.data_dir, 'pg_wal'))]
761761
return self.run(cmd + options, expect_error=expect_error)
762762

763-
764-
# Local or S3 backup
765-
fs_backup_class = FSTestBackupDir
766-
if os.environ.get('PG_PROBACKUP_S3_TEST', os.environ.get('PROBACKUP_S3_TYPE_FULL_TEST')):
767-
root = os.path.realpath(os.path.join(os.path.dirname(__file__), '../..'))
768-
if root not in sys.path:
769-
sys.path.append(root)
770-
from pg_probackup2.storage.s3_backup import S3TestBackupDir
771-
772-
fs_backup_class = S3TestBackupDir
773-
774763
def build_backup_dir(self, backup='backup'):
775764
return fs_backup_class(rel_path=self.rel_path, backup=backup)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy