[ARVADOS] updated: 051ee2aaca391a9e561153a47213defc31c6b745

git at public.curoverse.com git at public.curoverse.com
Mon Sep 1 17:48:05 EDT 2014


Summary of changes:
 services/crunchstat/crunchstat.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  051ee2aaca391a9e561153a47213defc31c6b745 (commit)
      from  3320b77f636cbd45ce85e282630b48d2189875e7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 051ee2aaca391a9e561153a47213defc31c6b745
Author: Ward Vandewege <ward at curoverse.com>
Date:   Mon Sep 1 17:47:43 2014 -0400

    crunchstat: fix typos in comments and help/error text.
    
    no issue #

diff --git a/services/crunchstat/crunchstat.go b/services/crunchstat/crunchstat.go
index 6eae22c..7adfaaa 100644
--- a/services/crunchstat/crunchstat.go
+++ b/services/crunchstat/crunchstat.go
@@ -149,7 +149,7 @@ func PollCgroupStats(cgroup_root string, cgroup_parent string, container_id stri
 				user_diff := next_user - last_user
 				sys_diff := next_sys - last_sys
 				// Assume we're reading stats based on 100
-				// jiffies per second.  Because the ellaspsed
+				// jiffies per second.  Because the elapsed
 				// time is in milliseconds, we need to boost
 				// that to 1000 jiffies per second, then boost
 				// it by another 100x to get a percentage, then
@@ -241,7 +241,7 @@ func main() {
 	logger := log.New(os.Stderr, "crunchstat: ", 0)
 
 	if cgroup_root == "" {
-		logger.Fatal("Must provide either -cgroup-root")
+		logger.Fatal("Must provide -cgroup-root")
 	}
 
 	// Make output channel

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list