From 22afb660c5146ecf0a67b1c6495e1e39f6b2bc07 Mon Sep 17 00:00:00 2001 From: Rugwiro Valentin Date: Thu, 21 Mar 2024 17:30:49 +0200 Subject: [PATCH] Restart policy becomes a pointer (#27) --- machine_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine_types.go b/machine_types.go index 8775cf9..a551bd7 100644 --- a/machine_types.go +++ b/machine_types.go @@ -607,7 +607,7 @@ type MachineConfig struct { Schedule string `json:"schedule,omitempty"` // Optional boolean telling the Machine to destroy itself once it’s complete (default false) AutoDestroy bool `json:"auto_destroy,omitempty"` - Restart MachineRestart `json:"restart,omitempty"` + Restart *MachineRestart `json:"restart,omitempty"` DNS *DNSConfig `json:"dns,omitempty"` Processes []MachineProcess `json:"processes,omitempty"`