diff --git a/testgres/plugins/pg_probackup2/pg_probackup2/app.py b/testgres/plugins/pg_probackup2/pg_probackup2/app.py index 2c31de51..c5393550 100644 --- a/testgres/plugins/pg_probackup2/pg_probackup2/app.py +++ b/testgres/plugins/pg_probackup2/pg_probackup2/app.py @@ -189,15 +189,13 @@ def set_backup(self, instance, backup_id=False, return self.run(cmd + options, old_binary=old_binary, expect_error=expect_error) - def del_instance(self, instance, old_binary=False, expect_error=False): - - return self.run([ - 'del-instance', - '--instance={0}'.format(instance), - ], - old_binary=old_binary, - expect_error=expect_error - ) + def del_instance(self, instance, options=None, old_binary=False, expect_error=False): + if options is None: + options = [] + cmd = ['del-instance', '--instance={0}'.format(instance)] + options + return self.run(cmd, + old_binary=old_binary, + expect_error=expect_error) def backup_node( self, instance, node, data_dir=False, 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