| commit | 5e460a92353ec619f4f12fffbe3281d40c85cf61 | [log] [tgz] |
|---|---|---|
| author | Tim Windelschmidt <tim@monogon.tech> | Thu Apr 11 01:33:09 2024 +0200 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Mon Apr 15 21:19:50 2024 +0000 |
| tree | 193a72608c05ad45f3a60a4ac84a8f5d731d7f73 | |
| parent | 438ae2e52cb0aa8dea021419d921c687330e7d3b [diff] [blame] |
treewide: remove unnecessary types and conversions Change-Id: Ifcaa9ceeec243b3646c9b6e0a6fad7ef2db8fd90 Reviewed-on: https://review.monogon.dev/c/monogon/+/2954 Reviewed-by: Lorenz Brun <lorenz@monogon.tech> Tested-by: Jenkins CI
diff --git a/metropolis/node/core/update/update.go b/metropolis/node/core/update/update.go index ce0d021..ad4ad43 100644 --- a/metropolis/node/core/update/update.go +++ b/metropolis/node/core/update/update.go
@@ -409,7 +409,7 @@ if err != nil { return fmt.Errorf("failed to list EFI variables: %w", err) } - var validBootEntryIdx int = -1 + var validBootEntryIdx = -1 for _, varName := range varNames { m := bootVarRegexp.FindStringSubmatch(varName) if m == nil {