Re: Typo in stats interface

2014-07-02 Thread Willy Tarreau
Hi Marco,

On Wed, Jun 25, 2014 at 01:09:00PM +0200, Marco Corte wrote:
 Hi
 
 There is a very small typo in the statistics interface: a set in 
 lowercase where allothers are uppercase Set
 I am sorry, but I do not know how to properly document the change I 
 made... hope that is helps.

 .marcoc

Thank you for this fix. Your description was enough in itself as a
documentation for this change since it's quite trivial and self-
explaining.

Next time, please be careful, your mailer has mangled your patch and
wrapped the lines and converted tabs to spaces. It was easy so I fixed
it by hand.

Thanks,
Willy

--- patch left below for reference

 diff --git a/src/dumpstats.c b/src/dumpstats.c
 index 5365042..c8bac08 100644
 --- a/src/dumpstats.c
 +++ b/src/dumpstats.c
 @@ -3710,7 +3710,7 @@ static void stats_dump_html_px_end(struct 
 stream_interface *si, struct proxy *px
   option value=\\/option
   option value=\ready\Set state to 
 READY/option
   option value=\drain\Set state to 
 DRAIN/option
 - option value=\maint\Set state to 
 MAINT/option
 + option value=\maint\set state to 
 MAINT/option
   option value=\dhlth\Health: disable 
 checks/option
   option value=\ehlth\Health: enable 
 checks/option
   option value=\hrunn\Health: force 
 UP/option



Typo in stats interface

2014-06-25 Thread Marco Corte

Hi

There is a very small typo in the statistics interface: a set in 
lowercase where allothers are uppercase Set
I am sorry, but I do not know how to properly document the change I 
made... hope that is helps.


.marcoc


diff --git a/src/dumpstats.c b/src/dumpstats.c
index 5365042..c8bac08 100644
--- a/src/dumpstats.c
+++ b/src/dumpstats.c
@@ -3710,7 +3710,7 @@ static void stats_dump_html_px_end(struct 
stream_interface *si, struct proxy *px

  option value=\\/option
  option value=\ready\Set state to 
READY/option
  option value=\drain\Set state to 
DRAIN/option
- option value=\maint\Set state to 
MAINT/option
+ option value=\maint\set state to 
MAINT/option
  option value=\dhlth\Health: disable 
checks/option
  option value=\ehlth\Health: enable 
checks/option
  option value=\hrunn\Health: force 
UP/option