* Fixed a bug in scan-server where DELETED servers were being set to 'shut off'.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 2 years ago
parent bf2e3e25fb
commit c7a923fdfb
  1. 2
      scancore-agents/scan-server/scan-server

@ -1081,7 +1081,7 @@ DELETED - Marks a server as no longer existing
next if $server_host_uuid ne $anvil->Get->host_uuid; next if $server_host_uuid ne $anvil->Get->host_uuid;
# If we're here, the server used to be on us, and isn't on the peer, so mark it as off. # If we're here, the server used to be on us, and isn't on the peer, so mark it as off.
if ($server_state ne "shut off") if (($server_state ne "shut off") && ($server_state ne "DELETED"))
{ {
# Mark it as being off now. # Mark it as being off now.
my $query = " my $query = "

Loading…
Cancel
Save