[ARVADOS] updated: 6089a56c4a50d48f87d6c43ec505863abdaeec6a

git at public.curoverse.com git at public.curoverse.com
Thu Jun 12 14:18:52 EDT 2014


Summary of changes:
 .../crunch/crunchstat/src/arvados.org/crunchstat/crunchstat.go    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

       via  6089a56c4a50d48f87d6c43ec505863abdaeec6a (commit)
      from  abbb31362b5fee5763cb9afa56fe1c3f372721aa (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 6089a56c4a50d48f87d6c43ec505863abdaeec6a
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Jun 12 14:18:48 2014 -0400

    Bugfix in logging which cgroup stats files it uses.  refs #2882

diff --git a/services/crunch/crunchstat/src/arvados.org/crunchstat/crunchstat.go b/services/crunch/crunchstat/src/arvados.org/crunchstat/crunchstat.go
index 0775090..c3479bf 100644
--- a/services/crunch/crunchstat/src/arvados.org/crunchstat/crunchstat.go
+++ b/services/crunch/crunchstat/src/arvados.org/crunchstat/crunchstat.go
@@ -76,16 +76,16 @@ func PollCgroupStats(cgroup_path string, stderr chan string, poll int64) {
 	memory_stat := FindStat(cgroup_path, "memory", "stat")
 
 	if cpuacct_stat != "" {
-		stderr <- fmt.Sprintf("crunchstat: reading stats from ", cpuacct_stat)
+		stderr <- fmt.Sprintf("crunchstat: reading stats from %s", cpuacct_stat)
 	}
 	if blkio_io_service_bytes != "" {
-		stderr <- fmt.Sprintf("crunchstat: reading stats from ", blkio_io_service_bytes)
+		stderr <- fmt.Sprintf("crunchstat: reading stats from %s", blkio_io_service_bytes)
 	}
 	if cpuset_cpus != "" {
-		stderr <- fmt.Sprintf("crunchstat: reading stats from ", cpuset_cpus)
+		stderr <- fmt.Sprintf("crunchstat: reading stats from %s", cpuset_cpus)
 	}
 	if memory_stat != "" {
-		stderr <- fmt.Sprintf("crunchstat: reading stats from ", memory_stat)
+		stderr <- fmt.Sprintf("crunchstat: reading stats from %s", memory_stat)
 	}
 
 	var elapsed int64 = poll

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list