guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: offload: Display the normalized load in 'guix offload status' out


From: guix-commits
Subject: 01/03: offload: Display the normalized load in 'guix offload status' output.
Date: Sun, 23 Dec 2018 16:14:21 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 62b845c5e2c28a360102f095548e3dc3e9cf3200
Author: Ludovic Courtès <address@hidden>
Date:   Sat Dec 22 14:24:49 2018 +0100

    offload: Display the normalized load in 'guix offload status' output.
    
    Fixes a regression introduced in
    bbe66a530a014e8146d63002a5294941e935f863 whereby the actual
    load (non-normalized) would be displayed.
    
    * guix/scripts/offload.scm (check-machine-status): Add call to
    'normalized-load'.
---
 guix/scripts/offload.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/offload.scm b/guix/scripts/offload.scm
index 1e0ea1c..bfdaa3c 100644
--- a/guix/scripts/offload.scm
+++ b/guix/scripts/offload.scm
@@ -733,7 +733,7 @@ machine."
                           (utsname:sysname uts) (utsname:release uts)
                           (utsname:machine uts)
                           (utsname:nodename uts)
-                          load
+                          (normalized-load machine load)
                           (/ free (expt 2 20) 1.))))
               machines)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]