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 e63371a commit e81a89dCopy full SHA for e81a89d
testgres/node.py
@@ -440,15 +440,7 @@ def logs_dir(self):
440
441
@property
442
def data_dir(self):
443
- # NOTE: we can't run initdb without user's args
444
- if hasattr(self, '_data_dir'):
445
- return self._data_dir
446
- else:
447
- return os.path.join(self.base_dir, DATA_DIR)
448
-
449
- @data_dir.setter
450
- def data_dir(self, value):
451
- self._data_dir = value
+ return os.path.join(self.base_dir, DATA_DIR)
452
453
454
def utils_log_file(self):
0 commit comments