From 84e198bf2e111cff3fcc6143ebb5b48e830ea943 Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Tue, 12 Mar 2024 19:17:56 +0100 Subject: [PATCH] Fix the mismatch machineId error message --- internal/generation/generation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/generation/generation.go b/internal/generation/generation.go index 231eda4..79daac2 100644 --- a/internal/generation/generation.go +++ b/internal/generation/generation.go @@ -132,7 +132,7 @@ func (g Generation) Eval(ctx context.Context) Generation { evaluationResult.OutPath = outPath if machineId != "" && g.MachineId != machineId { evaluationResult.Err = fmt.Errorf("The evaluated comin.machineId '%s' is different from the /etc/machine-id '%s' of this machine", - g.MachineId, machineId) + machineId, g.MachineId) } } else { evaluationResult.Err = err