Skip to content

Commit 75406cd

Browse files
committed
fix: use the correct property to check if the view has a database
1 parent 2e437e7 commit 75406cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataimporter/cli/maintenance.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def merge(config: Config):
2323
"""
2424
with DataImporter(config) as importer:
2525
for view in importer.views:
26-
if view.has_database:
26+
if view.is_published:
2727
console.log(f"Force merge on {view.name} indices")
2828
importer.force_merge(view.name)
2929
console.log(f"{view.name} complete")

0 commit comments

Comments
 (0)