Closed ppinatti closed 4 years ago
According to its documentation the HMC API should return an empty array when an LPAR is not found but instead for CPCs in classic mode it returns a 404 response. This patch changes the handling of the response to handle the situation accordingly.
Signed-off-by: Paulo de Rezende Pinatti ppinatti@linux.ibm.com
Can one of the admins verify this patch?
ok to test
LGTM. Thanks.
According to its documentation the HMC API should return an empty array when an LPAR is not found but instead for CPCs in classic mode it returns a 404 response. This patch changes the handling of the response to handle the situation accordingly.
Signed-off-by: Paulo de Rezende Pinatti ppinatti@linux.ibm.com