From 45abedfeabeaa5e467d96ea356bde10381dcd67d Mon Sep 17 00:00:00 2001 From: pancsta <155631569+pancsta@users.noreply.github.com> Date: Thu, 22 Feb 2024 12:47:59 +0100 Subject: [PATCH] fix: lint --- pkg/machine/machine.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/machine/machine.go b/pkg/machine/machine.go index bc479a4..8e7fc05 100644 --- a/pkg/machine/machine.go +++ b/pkg/machine/machine.go @@ -85,7 +85,8 @@ type Machine struct { // New creates a new Machine instance, bound to context and modified with // optional Opts -func New(ctx context.Context, states States, opts *Opts) *Machine { // parse relations +func New(ctx context.Context, states States, opts *Opts) *Machine { + // parse relations parsedStates := cloneStates(states) for name, state := range states { // avoid self removal