Fix for incorrect base assignment
parent
11e9543a87
commit
8f14a7cd15
|
@ -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 {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue