mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-24 05:41:43 +02:00
Fix for incorrect base assignment
This commit is contained in:
@@ -201,11 +201,12 @@ func GetEdgeAppStatus(ID string) EdgeAppStatus {
|
||||
// - No service running = EdgeApp is off
|
||||
|
||||
runningServices := 0
|
||||
status := EdgeAppStatus{-1, "not-installed"}
|
||||
|
||||
status := EdgeAppStatus{0, "off"}
|
||||
|
||||
if !IsEdgeAppInstalled(ID) {
|
||||
|
||||
status = EdgeAppStatus{0, "off"}
|
||||
status = EdgeAppStatus{-1, "not-installed"}
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user