Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rainbond
Commits
19ccadbb
Commit
19ccadbb
authored
3 years ago
by
GLYASAI
Browse files
Options
Download
Email Patches
Plain Diff
update detect status on failure
parent
4771f448
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
worker/master/controller/helmapp/app.go
+3
-0
worker/master/controller/helmapp/app.go
with
3 additions
and
0 deletions
+3
-0
worker/master/controller/helmapp/app.go
+
3
-
0
View file @
19ccadbb
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help