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

main
Tsu-ba-me 1 year ago committed by Yanhao Lei
parent ed54bb88f5
commit 0f58a349ad
  1. 4
      tools/striker-manage-vnc-pipes

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

Loading…
Cancel
Save