graph.pl: fix intendation of user CPU load

Message ID efe549af-cb0a-f140-a5bd-4883fb481312@ipfire.org
State Accepted
Commit 33954320f9219f4472dc650ec7699457f72dce85
Headers
Series graph.pl: fix intendation of user CPU load |

Commit Message

Peter Müller April 27, 2020, 3:41 p.m. UTC
  Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 config/cfgroot/graphs.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Michael Tremer April 27, 2020, 3:47 p.m. UTC | #1
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

> On 27 Apr 2020, at 16:41, Peter Müller <peter.mueller@ipfire.org> wrote:
> 
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
> config/cfgroot/graphs.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl
> index 1bed49fa3..c3a2a14e9 100644
> --- a/config/cfgroot/graphs.pl
> +++ b/config/cfgroot/graphs.pl
> @@ -225,7 +225,7 @@ sub updatecpugraph {
> 			,"GPRINT:stealpct:MIN:%3.2lf%%"
> 			,"GPRINT:stealpct:LAST:%3.2lf%%\\j"
> 			,"STACK:userpct".$color{"color11"}."A0:".sprintf("%-25s",$Lang::tr{'cpu user usage'})
> -			,"GPRINT:userpct:MAX:%3.2lf%%"
> +			,"GPRINT:userpct:MAX:%3.1lf%%"
> 			,"GPRINT:userpct:AVERAGE:%3.2lf%%"
> 			,"GPRINT:userpct:MIN:%3.2lf%%"
> 			,"GPRINT:userpct:LAST:%3.2lf%%\\j"
> -- 
> 2.16.4
  

Patch

diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl
index 1bed49fa3..c3a2a14e9 100644
--- a/config/cfgroot/graphs.pl
+++ b/config/cfgroot/graphs.pl
@@ -225,7 +225,7 @@  sub updatecpugraph {
 			,"GPRINT:stealpct:MIN:%3.2lf%%"
 			,"GPRINT:stealpct:LAST:%3.2lf%%\\j"
 			,"STACK:userpct".$color{"color11"}."A0:".sprintf("%-25s",$Lang::tr{'cpu user usage'})
-			,"GPRINT:userpct:MAX:%3.2lf%%"
+			,"GPRINT:userpct:MAX:%3.1lf%%"
 			,"GPRINT:userpct:AVERAGE:%3.2lf%%"
 			,"GPRINT:userpct:MIN:%3.2lf%%"
 			,"GPRINT:userpct:LAST:%3.2lf%%\\j"