Skip to content

Commit b4f25ab

Browse files
authored
Remove workaround to pass tox (opendatahub-io#1123)
1 parent bab5b5e commit b4f25ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/model_registry/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ def get_database_env_vars(secret_name: str, db_backend: str) -> list[dict[str, A
261261
def get_model_registry_deployment_template_dict(
262262
secret_name: str, resource_name: str, db_backend: str
263263
) -> dict[str, Any]:
264-
health_probes = get_database_health_probes(db_backend=db_backend)
265264
base_dict = {
266265
"metadata": {
267266
"labels": {
@@ -275,7 +274,7 @@ def get_model_registry_deployment_template_dict(
275274
"env": get_database_env_vars(secret_name=secret_name, db_backend=db_backend),
276275
"image": get_database_image(db_backend=db_backend),
277276
"imagePullPolicy": "IfNotPresent",
278-
**health_probes,
277+
**get_database_health_probes(db_backend=db_backend),
279278
"name": db_backend,
280279
"ports": [{"containerPort": 3306, "protocol": "TCP"}]
281280
if db_backend != "postgres"

0 commit comments

Comments
 (0)