Fixed error in pandora_manage.pl

(cherry picked from commit d6de026c4a)
This commit is contained in:
m-lopez-f 2016-01-18 11:22:15 +01:00
parent 9bfa653de2
commit af477177a8
1 changed files with 2 additions and 2 deletions

View File

@ -3310,7 +3310,7 @@ sub cli_create_synthetic() {
my $agent_name = @ARGV[4];
my @module_data = @ARGV[5..$#ARGV];
my $module;
my (@filterdata,@data_module);
my (@filterdata,@data_module,$module_data);
if ($synthetic_type ne 'arithmetic' && $synthetic_type ne 'average') {
print("[ERROR] Type of syntethic module doesn't exists \n\n");
@ -3341,7 +3341,7 @@ sub cli_create_synthetic() {
exit 1;
}
if (is_numeric(@split_data[1]) == 0) {
continue;
next;
}
@data_module = ("",@split_data[0],@split_data[1]);
my $text_data = join(',',@data_module);