Skip to content

Commit b8d867a

Browse files
authored
Readd health-check (#619)
readd health-check
1 parent 58ec4e3 commit b8d867a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/actinia_core/main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
import os
3030
from .endpoints import create_endpoints
31+
from .health_check import health_check
3132
from .version import init_versions
3233
from actinia_core.core.common.app import flask_app
3334
from actinia_core.core.common.config import global_config, DEFAULT_CONFIG_PATH
@@ -71,6 +72,9 @@
7172
# Create the process queue
7273
create_process_queue(global_config)
7374

75+
# use import to make linter happy (needed to create endpoint)
76+
health_check = health_check
77+
7478
###############################################################################
7579
if __name__ == "__main__":
7680
# Connect to the database

0 commit comments

Comments
 (0)