Skip to content

Commit b6ea56f

Browse files
committed
remove unused parameter
1 parent 016a622 commit b6ea56f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/flasherapi/flasherapi.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ package flasherapi
1717

1818
import (
1919
"bufio"
20-
"context"
2120
"io"
2221
"log/slog"
2322
"strings"
@@ -29,7 +28,7 @@ const R0_IMAGE_VERSION_ID = "20250807-136"
2928

3029
// GetOSImageVersion returns the version of the OS image used in the board.
3130
// It is used by the AppLab to enforce image version compatibility.
32-
func GetOSImageVersion(ctx context.Context, conn remote.RemoteConn) string {
31+
func GetOSImageVersion(conn remote.RemoteConn) string {
3332
f, err := conn.ReadFile("/etc/buildinfo")
3433
if err != nil {
3534
slog.Warn("Unable to read buildinfo file", "err", err, "using_default", R0_IMAGE_VERSION_ID)

0 commit comments

Comments
 (0)