Getting rid of single quote in instance filter (#3879)
This commit is contained in:
parent
7569526acc
commit
316e0244d3
|
@ -63,8 +63,8 @@ sub check_options {
|
||||||
sub run {
|
sub run {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
$self->{metrics} = centreon::common::monitoring::openmetrics::scrape::parse(%options);
|
$self->{metrics} = centreon::common::monitoring::openmetrics::scrape::parse(%options,strip_chars => "[\"']");
|
||||||
|
|
||||||
my @exits;
|
my @exits;
|
||||||
my $short_msg = 'All metrics are ok';
|
my $short_msg = 'All metrics are ok';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue