diff --git a/cloud/aws/elb/application/mode/connections.pm b/cloud/aws/elb/application/mode/connections.pm index 5b06a1705..903837b04 100644 --- a/cloud/aws/elb/application/mode/connections.pm +++ b/cloud/aws/elb/application/mode/connections.pm @@ -139,7 +139,7 @@ sub check_options { $self->{aws_timeframe} = defined($self->{option_results}->{timeframe}) ? $self->{option_results}->{timeframe} : 600; $self->{aws_period} = defined($self->{option_results}->{period}) ? $self->{option_results}->{period} : 60; - if (defined($self->{option_results}->{target_group}) && self->{option_results}->{target_group} ne '') { + if (defined($self->{option_results}->{target_group}) && $self->{option_results}->{target_group} ne '') { push @{$self->{aws_dimensions}}, { Name => 'TargetGroup', Value => $self->{option_results}->{target_group} }; } diff --git a/cloud/aws/elb/application/mode/httpcodes.pm b/cloud/aws/elb/application/mode/httpcodes.pm index 6e0938fa8..5838b084b 100644 --- a/cloud/aws/elb/application/mode/httpcodes.pm +++ b/cloud/aws/elb/application/mode/httpcodes.pm @@ -153,7 +153,7 @@ sub check_options { $self->{aws_timeframe} = defined($self->{option_results}->{timeframe}) ? $self->{option_results}->{timeframe} : 600; $self->{aws_period} = defined($self->{option_results}->{period}) ? $self->{option_results}->{period} : 60; - if (defined($self->{option_results}->{target_group}) && self->{option_results}->{target_group} ne '') { + if (defined($self->{option_results}->{target_group}) && $self->{option_results}->{target_group} ne '') { push @{$self->{aws_dimensions}}, { Name => 'TargetGroup', Value => $self->{option_results}->{target_group} }; } diff --git a/cloud/aws/elb/application/mode/targetshealth.pm b/cloud/aws/elb/application/mode/targetshealth.pm index 8ef5142f5..083139090 100644 --- a/cloud/aws/elb/application/mode/targetshealth.pm +++ b/cloud/aws/elb/application/mode/targetshealth.pm @@ -129,7 +129,7 @@ sub check_options { $self->{aws_timeframe} = defined($self->{option_results}->{timeframe}) ? $self->{option_results}->{timeframe} : 600; $self->{aws_period} = defined($self->{option_results}->{period}) ? $self->{option_results}->{period} : 60; - if (defined($self->{option_results}->{target_group}) && self->{option_results}->{target_group} ne '') { + if (defined($self->{option_results}->{target_group}) && $self->{option_results}->{target_group} ne '') { push @{$self->{aws_dimensions}}, { Name => 'TargetGroup', Value => $self->{option_results}->{target_group} }; }