agent v0.3.16: statut service d'applications basé sur la connexion Tailscale effective
This commit is contained in:
+5
-2
@@ -363,12 +363,15 @@ func buildUIStatus(dataDir string) map[string]interface{} {
|
||||
appServiceDetail := "Vérification du service d'applications..."
|
||||
engine := getContainerEngine()
|
||||
if engineAvailable(engine) {
|
||||
if isTailscaleRunning() {
|
||||
if isTailscaleReady() {
|
||||
appServiceState = "ok"
|
||||
appServiceDetail = "Service d'applications prêt"
|
||||
} else {
|
||||
} else if isTailscaleRunning() {
|
||||
appServiceState = "warn"
|
||||
appServiceDetail = "Service d'applications disponible, connexion sécurisée en cours"
|
||||
} else {
|
||||
appServiceState = "warn"
|
||||
appServiceDetail = "Service d'applications disponible, connexion sécurisée inactive"
|
||||
}
|
||||
} else {
|
||||
appServiceState = "error"
|
||||
|
||||
Reference in New Issue
Block a user