Minor fix for the error message w.r.t secondary storage not available
Review Request #343 — Created July 17, 2024 and submitted — Latest diff uploaded
| 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
