Skip to content

Commit bfface9

Browse files
author
alexander popov
committed
fix: change type of port
1 parent 411bb07 commit bfface9

File tree

6 files changed

+4
-91
lines changed

6 files changed

+4
-91
lines changed

mamonsu/tools/bootstrap/start.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(self):
8383
os.environ['PGUSER'] = self.args.username
8484
os.environ['PGPASSWORD'] = self.args.password
8585
os.environ['PGHOST'] = self.args.hostname
86-
os.environ['PGPORT'] = self.args.port
86+
os.environ['PGPORT'] = str(self.args.port)
8787
os.environ['PGDATABASE'] = self.args.dbname
8888
os.environ['PGAPPNAME'] = 'mamonsu deploy'
8989

@@ -164,6 +164,7 @@ def fill_query_params(queries):
164164
'lsn' if Pooler.server_version_greater('10.0') else 'location'
165165
).split(QuerySplit):
166166
formatted_queries += sql
167+
print(formatted_queries)
167168
return formatted_queries
168169

169170

@@ -175,6 +176,8 @@ def fill_grant_params(queries, args):
175176
'wal' if Pooler.server_version_greater('10.0') else 'xlog'
176177
).split(QuerySplit):
177178
formatted_grants_queries += sql
179+
print(formatted_grants_queries)
180+
178181
return formatted_grants_queries
179182

180183

tests/template.xml

Lines changed: 0 additions & 30 deletions
This file was deleted.

tests/template_new.xml

Lines changed: 0 additions & 30 deletions
This file was deleted.

tests/template_old.xml

Lines changed: 0 additions & 30 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)