Skip to content

Commit

Permalink
Merge pull request #63 from opengisch/fixportvalidator
Browse files Browse the repository at this point in the history
Fix missing port parsing from layer to use in validator
  • Loading branch information
signedav authored Aug 31, 2023
2 parents 61d889d + 462fba0 commit 9a4c014
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modelbaker/utils/db_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def get_configuration_from_sourceprovider(provider, configuration):
configuration.dbusr = layer_source.username() or service_map.get("user")
configuration.dbpwd = layer_source.password() or service_map.get("password")
configuration.dbhost = layer_source.host() or service_map.get("host")
configuration.dbport = layer_source.port() or service_map.get("port")
configuration.database = layer_source.database() or service_map.get("dbname")
configuration.dbschema = layer_source.schema()
valid = bool(
Expand Down

0 comments on commit 9a4c014

Please sign in to comment.