ociswrapper: meaningful error message

This commit is contained in:
Saw-jan
2023-09-21 13:17:21 +05:45
parent 5d64f169b3
commit 3c364742c8

View File

@@ -31,7 +31,7 @@ func sendResponse(res http.ResponseWriter, ocisStatus bool) {
} else {
res.WriteHeader(http.StatusInternalServerError)
resBody["status"] = "ERROR"
resBody["message"] = "oCIS server error"
resBody["message"] = "Unable to start oCIS server"
}
res.Header().Set("Content-Type", "application/json")