add version in default class mode

This commit is contained in:
garnier-quentin 2019-06-28 16:41:32 +02:00
parent 1e7e8c1277
commit 6dc57e5aa8
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ sub new {
$self->{output}->use_new_perfdata(value => 1)
if (defined($options{force_new_perfdata}) && $options{force_new_perfdata} == 1);
$self->{mode} = $options{mode};
$self->{version} = '1.0';
return $self;
}