Projet

Général

Profil

Révision f776b7e0

IDf776b7e04fcba70ad76afc8978db45b826e9663a
Parent 8713eb37
Enfant 5215545c

Ajouté par Lars Kruse il y a plus de 5 ans

Fix spelling mistakes in variable names

Thanks, codespell!

Voir les différences:

plugins/mysql/mysql_size_
48 48
my $MYSQLADMIN = $ENV{mysqladmin} || "mysql";
49 49

  
50 50
my %WANTED = ( "Index"  => "index",
51
	       "Datas" => "datas",
51
	       "Data" => "data",
52 52
             );
53 53

  
54 54
my $arg = shift();
......
65 65
    exit;
66 66
}
67 67

  
68
my $datas = 0;
68
my $data_count = 0;
69 69
my $indexes = 0;
70 70
my (@infos,$info,$i_data,$i_index);
71 71

  
......
99 99

  
100 100
while (<SERVICE>) {
101 101
    (m/(\d+).*?(\d+(?:\.\d+)?)/);
102
    $datas += $1;
102
    $data_count += $1;
103 103
    $indexes += $2;
104 104
}
105 105
close(SERVICE);
106 106

  
107
print("datas.value $datas\n");
107
print("data.value $data_count\n");
108 108
print("index.value $indexes\n");
109 109

  
110 110

  

Formats disponibles : Unified diff