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