Projet

Général

Profil

Révision 17f78427

ID17f784270ae966ee9a13e9f5104a5b8f925b639e
Parent ef851f0c
Enfant d4320aea, 5b2396a9

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

Whitespace cleanup

  • remove trailing whitespace
  • remove empty lines at the end of files

Voir les différences:

plugins/haproxy/haproxy_rate_backend
42 42
        PXNAME="$1"
43 43
        SVNAME="$2"
44 44
        VALUE="$3"
45
        
45

  
46 46
        if [ ! -z "$url" ]; then
47 47
                LINE1=`curl -s "$url" | head -1 | sed 's/# //'`
48 48
                LINE2=`curl -s "$url" | grep "$PXNAME,$SVNAME"`
......
52 52
                LINE1=`echo 'show stat' | socat unix-connect:"$socket" stdio | head -1 | sed 's/# //'`
53 53
                LINE2=`echo 'show stat' | socat unix-connect:"$socket" stdio | grep "$PXNAME,$SVNAME"`
54 54
        fi
55
        
55

  
56 56
        ARRAY1=($LINE1);
57 57

  
58 58
        # Find values
......
76 76
WARN_PERCENT="80"
77 77

  
78 78
if [ "$1" = "autoconf" ]; then
79
	echo yes 
79
	echo yes
80 80
	exit 0
81 81
fi
82 82

  
......
128 128
        	echo "rate_lim`echo $i | md5sum | cut -d - -f1 | sed 's/ //g'`.value $RATEL"
129 129
        	#echo "rate_max`echo $i | md5sum | cut -d - -f1 | sed 's/ //g'`.value $RATEM"
130 130
	done
131
	
131

  
132 132

  

Formats disponibles : Unified diff