mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-16 11:58:09 +00:00
Always use the get_*_account helper methods (#226)
This commit is contained in:
@ -12,7 +12,7 @@ from onefuzztypes.enums import Compare, ContainerPermission, ContainerType, Task
|
||||
from onefuzztypes.models import TaskConfig, TaskDefinition, TaskUnitConfig
|
||||
|
||||
from ..azure.containers import blob_exists, container_exists, get_container_sas_url
|
||||
from ..azure.creds import get_fuzz_storage, get_instance_url
|
||||
from ..azure.creds import get_func_storage, get_fuzz_storage, get_instance_url
|
||||
from ..azure.queue import get_queue_sas
|
||||
from .defs import TASK_DEFINITIONS
|
||||
|
||||
@ -183,7 +183,7 @@ def build_task_config(
|
||||
telemetry_key=os.environ.get("ONEFUZZ_TELEMETRY"),
|
||||
heartbeat_queue=get_queue_sas(
|
||||
"task-heartbeat",
|
||||
account_id=os.environ["ONEFUZZ_FUNC_STORAGE"],
|
||||
account_id=get_func_storage(),
|
||||
add=True,
|
||||
),
|
||||
back_channel_address="https://%s/api/back_channel" % (get_instance_url()),
|
||||
|
Reference in New Issue
Block a user