Skip to content

Commit

Permalink
fix: api server fails with "nil pointer dereference" error (argoproj#40)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
  • Loading branch information
alexmt committed Oct 28, 2024
1 parent 0a17263 commit 13338bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/application/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func (s *Server) List(ctx context.Context, q *application.ApplicationQuery) (*ap
}

if len(filtered) > limit {
filtered = filtered[:*q.Limit]
filtered = filtered[:limit]
}

appList := appv1.ApplicationList{
Expand Down

0 comments on commit 13338bb

Please sign in to comment.