+ Fix parent call method

This commit is contained in:
garnier-quentin 2016-01-29 15:48:41 +01:00
parent b68f4b0d00
commit 5be6fb58f6
10 changed files with 10 additions and 10 deletions

View File

@ -140,7 +140,7 @@ sub new {
sub check_options {
my ($self, %options) = @_;
$self->SUPER::init(%options);
$self->SUPER::check_options(%options);
$instance_mode = $self;
$self->change_macros();

View File

@ -812,7 +812,7 @@ sub new {
sub check_options {
my ($self, %options) = @_;
$self->SUPER::init(%options);
$self->SUPER::check_options(%options);
$self->{overload_th} = {};
foreach my $val (@{$self->{option_results}->{threshold_overload}}) {

View File

@ -116,7 +116,7 @@ sub check_options {
my ($self, %options) = @_;
$self->SUPER::init(%options);
foreach my $key (keys %{$self->{maps_counters}}) {
foreach my $key (keys %{$self->{maps_counters}}) {
foreach (@{$self->{maps_counters}->{$key}}) {
$_->{obj}->init(option_results => $self->{option_results});
}

View File

@ -2097,7 +2097,7 @@ The model can also be used to check strings (not only counters). So we want to c
sub check_options {
my ($self, %options) = @_;
$self->SUPER::init(%options);
$self->SUPER::check_options(%options);
# Sometimes, you'll need to have access of the current object in the callback
$instance_mode = $self;

View File

@ -151,7 +151,7 @@ sub new {
sub check_options {
my ($self, %options) = @_;
$self->SUPER::init(%options);
$self->SUPER::check_options(%options);
$instance_mode = $self;
$self->change_macros();

View File

@ -92,7 +92,7 @@ sub new {
sub check_options {
my ($self, %options) = @_;
$self->SUPER::init(%options);
$self->SUPER::check_options(%options);
$instance_mode = $self;

View File

@ -92,7 +92,7 @@ sub new {
sub check_options {
my ($self, %options) = @_;
$self->SUPER::init(%options);
$self->SUPER::check_options(%options);
$instance_mode = $self;

View File

@ -92,7 +92,7 @@ sub new {
sub check_options {
my ($self, %options) = @_;
$self->SUPER::init(%options);
$self->SUPER::check_options(%options);
$instance_mode = $self;

View File

@ -119,7 +119,7 @@ sub new {
sub check_options {
my ($self, %options) = @_;
$self->SUPER::init(%options);
$self->SUPER::check_options(%options);
$instance_mode = $self;
$self->change_macros();

View File

@ -118,7 +118,7 @@ sub new {
sub check_options {
my ($self, %options) = @_;
$self->SUPER::init(%options);
$self->SUPER::check_options(%options);
$instance_mode = $self;
$self->change_macros();