mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-27 16:17:34 +00:00
Fix: fix health check error
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
This commit is contained in:
@@ -251,11 +251,6 @@ func (h *AppHandler) checkComponentHealth(appParser *appfile.Parser, appRev *v1b
|
||||
}
|
||||
|
||||
_, isHealth, err := h.collectHealthStatus(auth.ContextWithUserInfo(ctx, h.app), wl, appRev, overrideNamespace)
|
||||
// TODO(somefive): temporary fix, ignore resource not found error
|
||||
if err != nil && strings.Contains(err.Error(), "not found") {
|
||||
isHealth = false
|
||||
err = nil
|
||||
}
|
||||
return isHealth, err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user