From fe2c9175629fe79e9de6470b80079452407ac7fc Mon Sep 17 00:00:00 2001 From: Stefano Alberto Russo <stefano.russo@gmail.com> Date: Sat, 28 May 2022 13:53:20 +0200 Subject: [PATCH] Fix --- services/webapp/code/rosetta/core_app/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/webapp/code/rosetta/core_app/models.py b/services/webapp/code/rosetta/core_app/models.py index 76389f1..53e38bd 100644 --- a/services/webapp/code/rosetta/core_app/models.py +++ b/services/webapp/code/rosetta/core_app/models.py @@ -5,7 +5,7 @@ from django.conf import settings from django.db import models from django.contrib.auth.models import User, Group from django.utils import timezone -from .utils import os_shell, color_map, hash_string_to_int, get_task_tunnel_host +from .utils import os_shell, color_map, hash_string_to_int, get_rosetta_tasks_tunnel_host from .exceptions import ConsistencyException if 'sqlite' in settings.DATABASES['default']['ENGINE']: @@ -356,7 +356,7 @@ class Task(models.Model): @property def tcp_tunnel_host(self): - return get_task_tunnel_host() + return get_rosetta_tasks_tunnel_host() -- GitLab