fix(tools): correct input to keys in manage vnc pipes

main
Tsu-ba-me 1 year ago committed by digimer
parent 9431d89b61
commit b1e7b0e244
  1. 4
      tools/striker-manage-vnc-pipes

@ -471,7 +471,7 @@ sub start_pipe
my $ws_process = $ws_processes->{pids}{$ws_pid};
foreach my $host_uuid (keys $hosts->{uuids})
foreach my $host_uuid (keys %{$hosts->{uuids}})
{
my $host_name = $hosts->{uuids}{$host_uuid}{name};
@ -685,7 +685,7 @@ sub stop_pipe
return ($rcode) if ($rcode);
foreach my $host_uuid (keys $hosts->{uuids})
foreach my $host_uuid (keys %{$hosts->{uuids}})
{
my $host_name = $hosts->{uuids}{$host_uuid}{name};
my $tp_pid = $tp_processes->{targets}{$host_name};

Loading…
Cancel
Save