ClusterLabs / fence-agents

Fence agents
104 stars 160 forks source link

fence_ibmz: fix handling of API response when LPAR is not found #352

Closed ppinatti closed 4 years ago

ppinatti commented 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

knet-ci-bot commented 4 years ago

Can one of the admins verify this patch?

oalbrigt commented 4 years ago

ok to test

oalbrigt commented 4 years ago

LGTM. Thanks.