From 6aa7d5f6cfa1a4bc844954d4928ec516543e692c Mon Sep 17 00:00:00 2001 From: bmc-msft <41130664+bmc-msft@users.noreply.github.com> Date: Fri, 8 Jan 2021 14:23:30 -0500 Subject: [PATCH] remove unused back_channel_address entry (#420) --- src/api-service/__app__/onefuzzlib/tasks/config.py | 3 +-- src/pytypes/onefuzztypes/models.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/api-service/__app__/onefuzzlib/tasks/config.py b/src/api-service/__app__/onefuzzlib/tasks/config.py index 3df5f9cb6..fec4e4e84 100644 --- a/src/api-service/__app__/onefuzzlib/tasks/config.py +++ b/src/api-service/__app__/onefuzzlib/tasks/config.py @@ -13,7 +13,7 @@ from onefuzztypes.models import TaskConfig, TaskDefinition, TaskUnitConfig from onefuzztypes.primitives import Container from ..azure.containers import blob_exists, container_exists, get_container_sas_url -from ..azure.creds import get_instance_id, get_instance_url +from ..azure.creds import get_instance_id from ..azure.queue import get_queue_sas from ..azure.storage import StorageType from .defs import TASK_DEFINITIONS @@ -188,7 +188,6 @@ def build_task_config( StorageType.config, add=True, ), - back_channel_address="https://%s/api/back_channel" % (get_instance_url()), instance_id=get_instance_id(), ) diff --git a/src/pytypes/onefuzztypes/models.py b/src/pytypes/onefuzztypes/models.py index 5b86c6810..4f78d0577 100644 --- a/src/pytypes/onefuzztypes/models.py +++ b/src/pytypes/onefuzztypes/models.py @@ -298,7 +298,6 @@ class TaskUnitConfig(BaseModel): telemetry_key: Optional[str] heartbeat_queue: str # command_queue: str - back_channel_address: str input_queue: Optional[str] supervisor_exe: Optional[str] supervisor_env: Optional[Dict[str, str]]