Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45d2b17

Browse files
PostgresNode::_try_shutdown is correct (return None)
This method returns nothing (None).
1 parent 09976ae commit 45d2b17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testgres/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def _try_shutdown(self, max_attempts, with_force=False):
359359

360360
# If force stopping is enabled and PID is valid
361361
if not with_force:
362-
return False
362+
return
363363

364364
node_pid = self.pid
365365
assert node_pid is not None

0 commit comments

Comments
 (0)