Removed outer double-quotes from Anvil! node description in XML usage reporting. Related to issue #321.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 1 year ago
parent 942c4c94bf
commit b24b81c17c
  1. 2
      tools/anvil-report-usage

@ -277,6 +277,8 @@ sub show_anvils_machine
{ {
my $anvil_uuid = $anvil->data->{anvil_data}{$anvil_name}{anvil_uuid}; my $anvil_uuid = $anvil->data->{anvil_data}{$anvil_name}{anvil_uuid};
my $anvil_description = $anvil->data->{anvil_data}{$anvil_name}{description}; my $anvil_description = $anvil->data->{anvil_data}{$anvil_name}{description};
$anvil_description =~ s/^"//;
$anvil_description =~ s/"$//;
$anvil_description =~ s/"/\"/g; $anvil_description =~ s/"/\"/g;
my $cpu_cores = $anvil->data->{anvil_data}{$anvil_name}{cpu_cores}; my $cpu_cores = $anvil->data->{anvil_data}{$anvil_name}{cpu_cores};
my $cpu_threads = $anvil->data->{anvil_data}{$anvil_name}{cpu_threads}; my $cpu_threads = $anvil->data->{anvil_data}{$anvil_name}{cpu_threads};

Loading…
Cancel
Save