Skip to content

Commit 18a6689

Browse files
committed
[paradedb] Remove option to set port on startup
This is not supported.
1 parent 8117793 commit 18a6689

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

paradedb/localstack_paradedb/extension.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
ENV_POSTGRES_USER = "PARADEDB_POSTGRES_USER"
99
ENV_POSTGRES_PASSWORD = "PARADEDB_POSTGRES_PASSWORD"
1010
ENV_POSTGRES_DB = "PARADEDB_POSTGRES_DB"
11-
ENV_POSTGRES_PORT = "PARADEDB_POSTGRES_PORT"
1211

1312
# Default values
1413
DEFAULT_POSTGRES_USER = "myuser"
@@ -30,7 +29,7 @@ def __init__(self):
3029
ENV_POSTGRES_PASSWORD, DEFAULT_POSTGRES_PASSWORD
3130
)
3231
postgres_db = os.environ.get(ENV_POSTGRES_DB, DEFAULT_POSTGRES_DB)
33-
postgres_port = int(os.environ.get(ENV_POSTGRES_PORT, DEFAULT_POSTGRES_PORT))
32+
postgres_port = DEFAULT_POSTGRES_PORT
3433

3534
# Store configuration for connection info
3635
self.postgres_user = postgres_user

0 commit comments

Comments
 (0)