fix(cgi-bin): add short host name to get_status response

main
Tsu-ba-me 4 years ago
parent 4fe11050e8
commit 4fa8073efe
  1. 2
      cgi-bin/get_status

@ -84,6 +84,7 @@ else
$hash->{anvil_state} = "optimal";
$hash->{hosts}->[0] = {
host_uuid => $node1_uuid,
host_name => $node1_host_name,
'state' => "offline",
state_percent => 0,
state_message => "message_0222,!!host_name!".$node1_host_name."!!",
@ -91,6 +92,7 @@ else
};
$hash->{hosts}->[1] = {
host_uuid => $node2_uuid,
host_name => $node2_host_name,
'state' => "offline",
state_percent => 0,
state_message => "message_0222,!!host_name!".$node2_host_name."!!",

Loading…
Cancel
Save