From b39524ab8afe98db3651e906d456a3bd5a7816fa Mon Sep 17 00:00:00 2001 From: Paulo Truta Date: Thu, 26 Nov 2026 13:30:52 +0100 Subject: [PATCH] fix DeviceIdentifier type in test --- internal/storage/storage_test.go | 2 +- internal/system/system.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/storage/storage_test.go b/internal/storage/storage_test.go index e14426f..346893f 100644 --- a/internal/storage/storage_test.go +++ b/internal/storage/storage_test.go @@ -30,7 +30,7 @@ func assertGetDevices(devices []Device, t *testing.T) { t.Log("Looking for a mmcblk0, sda, vda or nvme device") for _, device := range devices { - if device.ID == "mmcblk0" || device.ID == "sda" || device.ID == "vda" || strings.HasPrefix(device.ID, "nvme") { + if device.ID == "mmcblk0" || device.ID == "sda" || device.ID == "vda" || strings.HasPrefix(string(device.ID), "nvme") { t.Log("Found target device", device.ID) foundDevice = true } diff --git a/internal/system/system.go b/internal/system/system.go index 14687af..92ba027 100644 --- a/internal/system/system.go +++ b/internal/system/system.go @@ -142,6 +142,7 @@ func UpdateSystemLoggerServices(services []string) { } // StartWs: Starts the webserver service for Edgeapps +// StartWs : Starts the WS environment (renders and brings up all modules) func StartWs() { wsPath := utils.GetPath(utils.WsPath) fmt.Println("Starting WS")