We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a90ecd commit ea05a4aCopy full SHA for ea05a4a
testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py
@@ -204,10 +204,10 @@ def __init__(self):
204
os.environ["PGAPPNAME"] = "pg_probackup"
205
self.delete_logs = delete_logs
206
207
- if self.probackup_version.split('.')[0].isdigit:
+ if self.probackup_version.split('.')[0].isdigit():
208
self.major_version = int(self.probackup_version.split('.')[0])
209
else:
210
- print('Pg_probackup version \"{}\" is not correct!'.format(self.probackup_version))
+ print('Pg_probackup version \"{}\" is not correct! Expected that the major pg_probackup version should be a number.'.format(self.probackup_version))
211
sys.exit(1)
212
213
def test_env(self):
0 commit comments