Skip to content

Commit c6e6f10

Browse files
PostgresNode::start is refactored
We do not translate a new node port into string when we pack it in new option dictionary.
1 parent edbdb9d commit c6e6f10

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
@@ -848,7 +848,7 @@ def LOCAL__raise_cannot_start_node__std(from_exception):
848848
cur_port = self.port
849849
new_port = utils.reserve_port() # can raise
850850
try:
851-
options = {'port': str(new_port)}
851+
options = {'port': new_port}
852852
self.set_auto_conf(options)
853853
except: # noqa: E722
854854
utils.release_port(new_port)

0 commit comments

Comments
 (0)
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