Skip to content

Commit

Permalink
fix: remove break for appsCount (argoproj#6115)
Browse files Browse the repository at this point in the history
Signed-off-by: yancl <[email protected]>
  • Loading branch information
yancl authored Apr 28, 2021
1 parent c46c95b commit a125794
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controller/appcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,6 @@ func (ctrl *ApplicationController) finalizeProjectDeletion(proj *appv1.AppProjec
for i := range apps {
if apps[i].Spec.GetProject() == proj.Name {
appsCount++
break
}
}
if appsCount == 0 {
Expand Down

0 comments on commit a125794

Please sign in to comment.