mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-11-26 14:48:31 +01:00
fix DeviceIdentifier type in test
This commit is contained in:
@@ -30,7 +30,7 @@ func assertGetDevices(devices []Device, t *testing.T) {
|
|||||||
t.Log("Looking for a mmcblk0, sda, vda or nvme device")
|
t.Log("Looking for a mmcblk0, sda, vda or nvme device")
|
||||||
for _, device := range devices {
|
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)
|
t.Log("Found target device", device.ID)
|
||||||
foundDevice = true
|
foundDevice = true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ func UpdateSystemLoggerServices(services []string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// StartWs: Starts the webserver service for Edgeapps
|
// StartWs: Starts the webserver service for Edgeapps
|
||||||
|
// StartWs : Starts the WS environment (renders and brings up all modules)
|
||||||
func StartWs() {
|
func StartWs() {
|
||||||
wsPath := utils.GetPath(utils.WsPath)
|
wsPath := utils.GetPath(utils.WsPath)
|
||||||
fmt.Println("Starting WS")
|
fmt.Println("Starting WS")
|
||||||
|
|||||||
Reference in New Issue
Block a user