3826: Reverse fields in "stat not found" warning.
[arvados.git] / services / crunchstat / crunchstat.go
index 855e115507b0e402ff27fe938e2fd5826e5f3127..1531ec39a9ba89375d3666e53c4539ee7cc6dd9b 100644 (file)
@@ -103,7 +103,7 @@ func OpenStatFile(stderr chan<- string, cgroup Cgroup, statgroup string, stat st
                // [b] after all contained processes have exited.
                reportedStatFile[stat] = path
                if path == "" {
-                       stderr <- fmt.Sprintf("crunchstat: did not find stats file (root %s, parent %s, cid %s, statgroup %s, stat %s)", cgroup.root, cgroup.parent, cgroup.cid, statgroup, stat)
+                       stderr <- fmt.Sprintf("crunchstat: did not find stats file: stat %s, statgroup %s, cid %s, parent %s, root %s", stat, statgroup, cgroup.cid, cgroup.parent, cgroup.root)
                } else {
                        stderr <- fmt.Sprintf("crunchstat: reading stats from %s", path)
                }