From babb1d3386890b2d38702488e65c42e0e69beec2 Mon Sep 17 00:00:00 2001 From: rchan Date: Fri, 14 Jun 2024 00:29:10 +0100 Subject: [PATCH] quick fix for on failure restart for data creator --- azure/hack_week/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/hack_week/__main__.py b/azure/hack_week/__main__.py index 3b01453..df48316 100644 --- a/azure/hack_week/__main__.py +++ b/azure/hack_week/__main__.py @@ -291,7 +291,7 @@ ], os_type=containerinstance.OperatingSystemTypes.LINUX, resource_group_name=resource_group.name, - restart_policy=containerinstance.ContainerGroupRestartPolicy.NEVER, + restart_policy=containerinstance.ContainerGroupRestartPolicy.ON_FAILURE, sku=containerinstance.ContainerGroupSku.STANDARD, volumes=[ containerinstance.VolumeArgs(