Projet

Général

Profil

Révision cc15e334

IDcc15e334538b02185040ea77ae4f0e7e03ed797a
Parent d658c583
Enfant 47a99e02

Ajouté par Léo POIROUX il y a plus de 10 ans

Bugfix warning messages

Odd number of elements in hash assignment at /etc/munin/plugins/varnish_bans line 884.
Use of uninitialized value $ident in hash element at /etc/munin/plugins/varnish_bans line 927.

Voir les différences:

plugins/varnish4/varnish4_
923 923
		if ($key eq 'flag') {
924 924
			$data = translate_type($data);
925 925
		}
926
		if (defined($type) and $type ne '' and defined($ident) and $ident ne '') {
926
		if (defined($type) and $type ne "" and defined($ident) and $ident ne "") {
927 927
			$data{$type}{$ident}{$name}{$key} = $data;
928 928
		} else {
929 929
			$data{$name}{$key} = $data

Formats disponibles : Unified diff