Skip to content

Commit

Permalink
Fix missing port parsing from layer to use in validator
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Aug 31, 2023
1 parent 61d889d commit 462fba0
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 462fba0

Please sign in to comment.