Fixed problems with created modules synthetic. Tiquet: #3034

(cherry picked from commit fcfd6e4070)
This commit is contained in:
m-lopez-f 2016-01-26 15:03:41 +01:00
parent c50e578ef9
commit d66db9212b
1 changed files with 1 additions and 1 deletions

View File

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