open-nomad/ui/tests/acceptance/behaviors
Tim Gross e729133134
api: return 404 for alloc FS list/stat endpoints (#11482)
* api: return 404 for alloc FS list/stat endpoints

If the alloc filesystem doesn't have a file requested by the List
Files or Stat File API, we currently return a HTTP 500 error with the
expected "file not found" error message. Return a HTTP 404 error
instead.

* update FS Handler

Previously the FS handler would interpret a 500 status as a 404
in the adapter layer by checking if the response body contained
the text  or is the response status
was 500 and then throw an error code for 404.

Co-authored-by: Jai Bhagat <jaybhagat841@gmail.com>
2021-11-17 11:15:07 -05:00
..
fs.js api: return 404 for alloc FS list/stat endpoints (#11482) 2021-11-17 11:15:07 -05:00
page-size-select.js Update to v4 of Ember Power Select (#10226) 2021-03-26 08:55:12 -05:00