Skip to content

Commit

Permalink
Restart policy becomes a pointer (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
rugwirobaker committed Mar 21, 2024
1 parent 8263e7e commit 22afb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

Expand Down

0 comments on commit 22afb66

Please sign in to comment.