We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dc640f commit 2a0c37bCopy full SHA for 2a0c37b
testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py
@@ -204,7 +204,9 @@ def __init__(self):
204
os.environ["PGAPPNAME"] = "pg_probackup"
205
self.delete_logs = delete_logs
206
207
- self.major_version = int(self.probackup_version.split('.')[0])
+ self.major_version = 0
208
+ if self.probackup_version.split('.')[0].isdigit:
209
+ self.major_version = int(self.probackup_version.split('.')[0])
210
211
def test_env(self):
212
return self._test_env.copy()
0 commit comments