fix(tools): correct message_* string keys in striker-manage-vnc-pipes

main
Tsu-ba-me 3 years ago
parent 70075ba690
commit 063840ecb6
  1. 10
      tools/striker-manage-vnc-pipes

@ -1001,7 +1001,7 @@ sub open_vnc_pipe
$anvil->Job->update_progress({ $anvil->Job->update_progress({
progress => 100, progress => 100,
message => "message_0257,!!operation!opening!!,!!server_uuid!".$server_uuid."!!,!!host_uuid!".$host_uuid."!!" message => "message_0260,!!operation!opening!!,!!server_uuid!".$server_uuid."!!,!!host_uuid!".$host_uuid."!!"
}); });
$vnc_pipe_info = { forward_port => defined $ssh_tunnel_info->{forward_port} ? $ssh_tunnel_info->{forward_port} : "" }; $vnc_pipe_info = { forward_port => defined $ssh_tunnel_info->{forward_port} ? $ssh_tunnel_info->{forward_port} : "" };
@ -1042,7 +1042,7 @@ sub close_vnc_pipe
$anvil->Job->update_progress({ $anvil->Job->update_progress({
progress => 100, progress => 100,
message => "message_0257,!!operation!closing!!,!!server_uuid!".$server_uuid."!!,!!host_uuid!".$host_uuid."!!" message => "message_0260,!!operation!closing!!,!!server_uuid!".$server_uuid."!!,!!host_uuid!".$host_uuid."!!"
}); });
} }
@ -1075,7 +1075,7 @@ if ($anvil->data->{switches}{'job-uuid'})
progress => 1, progress => 1,
job_picked_up_by => $$, job_picked_up_by => $$,
job_picked_up_at => time, job_picked_up_at => time,
message => "message_0256" message => "message_0259"
}); });
foreach my $line (split/\n/, $anvil->data->{jobs}{job_data}) foreach my $line (split/\n/, $anvil->data->{jobs}{job_data})
@ -1142,9 +1142,9 @@ elsif ($anvil->data->{switches}{'drop-table'})
{ {
drop_vnc_pipes_table(); drop_vnc_pipes_table();
$anvil->Job->update_progress({ progress => 100, message => "message_0258" }); $anvil->Job->update_progress({ progress => 100, message => "message_0261" });
} }
else else
{ {
$anvil->Job->update_progress({ progress => 100, message => "message_0259" }); $anvil->Job->update_progress({ progress => 100, message => "message_0262" });
} }

Loading…
Cancel
Save