Skip to content

Commit

Permalink
Fix the mismatch machineId error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nlewo committed Mar 13, 2024
1 parent 08cd3a5 commit 84e198b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/generation/generation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84e198b

Please sign in to comment.