add key in service return
This commit is contained in:
parent
9ce4483bf1
commit
f50680278d
|
@ -87,7 +87,7 @@ sub run {
|
|||
my $hostname = $host_names{$entity->{mo_ref}->{value}};
|
||||
|
||||
foreach my $service (@{$entity->{serviceInfo}->{service}}) {
|
||||
push @{$data->{$entity->{mo_ref}->{value}}->{services}}, { label => $service->{label}, policy => $service->{policy}, running => $service->{running} };
|
||||
push @{$data->{$entity->{mo_ref}->{value}}->{services}}, { key => $service->{key}, label => $service->{label}, policy => $service->{policy}, running => $service->{running} };
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue