Skip to content

Commit

Permalink
Use the correct datastore name in _create_db_featurestore
Browse files Browse the repository at this point in the history
The datastore-name is not necessarily the same as the datastore-database-name, and other upload/create datastore functions all use ogc_server_settings.DATASTORE
  • Loading branch information
sharon-tickell committed Apr 5, 2018
1 parent f67a81d commit 5510dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/geoserver/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ def _create_db_featurestore(name, data, overwrite=False, charset="UTF-8", worksp
"""
cat = gs_catalog
db = ogc_server_settings.datastore_db
dsname = db['NAME']
dsname = ogc_server_settings.DATASTORE

ds_exists = False
try:
Expand Down

0 comments on commit 5510dba

Please sign in to comment.