Skip to content

Commit

Permalink
fxi after review
Browse files Browse the repository at this point in the history
Signed-off-by: Horiodino <[email protected]>
  • Loading branch information
Horiodino committed Jun 17, 2024
1 parent f0a6a28 commit 946f8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index/server/pkg/server/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ func buildIndexAPIResponse(c *gin.Context, indexType string, wantV1Index bool, p
util.FilterDevfileDeprecated(&index, *params.Deprecated, wantV1Index)
}
if index == nil || len(index) == 0 {
c.JSON(http.StatusNotFound, gin.H{
c.JSON(http.StatusOK, gin.H{
"status": "No stacks or samples found in the registry",
})
return
Expand Down

0 comments on commit 946f8d7

Please sign in to comment.