manirajv06 commented on PR #698:
URL: https://github.com/apache/yunikorn-core/pull/698#issuecomment-1797842053

   > > I found that there are a lot of "failed to unmarshal..." Maybe we could 
make unified changes.
   > 
   > @steinsgateted No problem! Ok, were you thinking unified in the sense of 
adding some sort of reusable function or constant string that we could format 
as needed to substitute for all of the occurrences of "failed to unmarshal..."?
   
   Introduce a const something like this.
   STRING1 = "failed to unmarshal DAONAME response from response body"
   replace DAONAME with actual name.
   
   Also you can introduce constants for 
   
   "Incorrect Status code"
   "JSON error message is incorrect"
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to