Skip to content

Commit

Permalink
- Fix an error on coverage_store return
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani authored and seesteins committed Jun 22, 2024
1 parent 07d6d2a commit 83b7708
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/geoserver/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,10 +721,12 @@ def create_coveragestore(
)
)
self._cache.clear()
time = 0
while name not in [
store.name for store in self.get_stores(workspaces=[workspace])
store.name for store in self.get_stores(workspaces=[workspace]) and time < 120
]:
sleep(.5)
time ++ .5

return self.get_resources(names=layer_name, workspaces=[workspace])[0]

Expand Down

0 comments on commit 83b7708

Please sign in to comment.