Fix for incorrect base assignment

This commit is contained in:
Paulo Truta
2021-03-04 15:19:31 +00:00
parent 11e9543a87
commit 8f14a7cd15
+3 -2
View File
@@ -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 {