Commit 19ccadbb authored by GLYASAI's avatar GLYASAI
Browse files

update detect status on failure

parent 4771f448
Showing with 3 additions and 0 deletions
+3 -0
......@@ -241,6 +241,9 @@ func (a *App) UpdateSpec() error {
func (a *App) Detect() error {
detector := NewDetector(a.helmApp, a, a.repo)
if err := detector.Detect(); err != nil {
if err := a.UpdateStatus(); err != nil {
logrus.Warningf("[App] detect app: %v", err)
}
return errors.WithMessage(err, "detect helm app")
}
return a.UpdateStatus()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment