-
-
branches/amp_3_7_0/src/webui/webui/htdocs/new/src/hive/log_location.py (Diff revision 1) Can you please check the HTTP response code for these error scenarios once. The error code is 400 but I think still it returns the http status code as 200 instead of 400.
Minor fix for the error message w.r.t secondary storage not available
Review Request #343 — Created July 17, 2024 and submitted
| Information | |
|---|---|
| apoorva.sn | |
| AMP | |
| amp_3_7_0 | |
| 156 | |
| Reviewers | |
| pmurugaiyan, prajesh, shuinvy | |
Problem
When the secondary storage is not available the application was throwing error message
but we need to send is_disk_available as false for the ui to handleSolution
Sending the following response back
{'is_disk_available': False,
'message': 'There is no secondary disk attached to the system.'
'Please contact Administrator to add additional disk space'}
Retaining the error message just so that the response is relevant to the REST API user as well
| Description | From | Last Updated |
|---|---|---|
|
Can you please check the HTTP response code for these error scenarios once. The error code is 400 but I … |
|
