fix prometheus nodeexporter missing comma

This commit is contained in:
Colin Gagnaire 2019-07-15 14:57:17 +02:00
parent 86e8deba30
commit d6f8b2be1c
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ sub custom_usage_perfdata {
value => $value_perf,
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning-' . $self->{thlabel}, %total_options),
critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical-' . $self->{thlabel}, %total_options),
min => 0, max => $self->{result_values}->{total}
min => 0, max => $self->{result_values}->{total},
instances => $self->use_instances(extra_instance => $options{extra_instance}) ? $self->{result_values}->{display} : undef,
);
}