The index server shouldn't return null
if no samples exist
#540
Labels
area/registry
Devfile registry for stacks and infrastructure
good first issue
Good for newcomers
kind/bug
Something isn't working
/kind bug
Which area this bug is related to?
/area registry
Bug Summary
The index server currently returns
null
if no samples are in the registry when the/index/sample
endpoint is called:To Reproduce:
Expected behavior
Either an empty array should be returned instead, or perhaps a more proper error message than
null
.The text was updated successfully, but these errors were encountered: