ClusterLabs / resource-agents

Combined repository of OCF agents from the RHCS and Linux-HA projects
GNU General Public License v2.0
493 stars 583 forks source link

storage_mon: remove unused macro variables #1994

Closed MasaoFujii closed 2 weeks ago

MasaoFujii commented 2 weeks ago

Hi,

The following macro variables are defined in storage_mon.c, but it seems they’re unused. To simplify the code, how about removing them?

define SMON_RESULT_OK "green"

define SMON_RESULT_NG "red"

define SMON_RESULT_COMMAND_ERROR "unknown command"

Regards,

knet-jenkins[bot] commented 2 weeks ago

Can one of the admins check and authorise this run please: https://ci.kronosnet.org/job/resource-agents/job/resource-agents-pipeline/job/PR-1994/1/input