Skip to content

Commit 5a918d9

Browse files
committed
add explicit index check type
1 parent 7f716df commit 5a918d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def check_index_and_wipe_out(logger):
465465
check_index = os.environ.get("CHECK_INDEX")
466466
if check_index and os.path.exists(OPENGROK_CONFIG_FILE):
467467
logger.info("Checking if index matches current version")
468-
indexer_options = ["-R", OPENGROK_CONFIG_FILE, "--checkIndex"]
468+
indexer_options = ["-R", OPENGROK_CONFIG_FILE, "--checkIndex", "version"]
469469
indexer = Indexer(
470470
indexer_options, logger=logger, jar=OPENGROK_JAR, doprint=True
471471
)

0 commit comments

Comments
 (0)