Fix for incorrect base assignment

pull/6/head
Paulo Truta 2021-03-04 15:19:31 +00:00
parent 11e9543a87
commit 8f14a7cd15
1 changed files with 3 additions and 2 deletions

View File

@ -201,11 +201,12 @@ func GetEdgeAppStatus(ID string) EdgeAppStatus {
// - No service running = EdgeApp is off // - No service running = EdgeApp is off
runningServices := 0 runningServices := 0
status := EdgeAppStatus{-1, "not-installed"}
status := EdgeAppStatus{0, "off"}
if !IsEdgeAppInstalled(ID) { if !IsEdgeAppInstalled(ID) {
status = EdgeAppStatus{0, "off"} status = EdgeAppStatus{-1, "not-installed"}
} else { } else {