]> granicus.if.org Git - pgbadger/commitdiff
Fix wrong unit to Synced files in Checkpoints files report. Thanks to Levente Birta...
authorDarold Gilles <gilles@darold.net>
Wed, 1 Oct 2014 20:54:18 +0000 (22:54 +0200)
committerDarold Gilles <gilles@darold.net>
Wed, 1 Oct 2014 20:54:18 +0000 (22:54 +0200)
pgbadger

index 6ab120ea0c9a30ce7f3f3389fbe04bcb17c6a3cb..0300b07b8d647e0a946ede4c9556eddc82d782f2 100755 (executable)
--- a/pgbadger
+++ b/pgbadger
@@ -5259,13 +5259,13 @@ $drawn_graphs{checkpointfiles_graph}
                                $files .= "<td>" . &comma_numbers($cinf{file_added}) .
                                        "</td><td>" . &comma_numbers($cinf{file_removed}) .
                                        "</td><td>" . &comma_numbers($cinf{file_recycled}) .
-                                       "<td>" . &comma_numbers($cainf{sync_files}) . 's' .
+                                       "</td><td>" . &comma_numbers($cainf{sync_files}) .
                                        "</td><td>" . &comma_numbers($cainf{sync_longest}) . 's' .
                                        "</td><td>" . &comma_numbers($cainf{sync_avg}) . 's' .
                                        "</td></tr>";
                        } else {
                                $buffers .= "<td>0</td><td>0s</td><td>0s</td><td>0s</td></tr>";
-                               $files .= "<td>0</td><td>0</td><td>0</td><td>0s</td><td>0s</td><td>0s</td></tr>";
+                               $files .= "<td>0</td><td>0</td><td>0</td><td>0</td><td>0s</td><td>0s</td></tr>";
                        }
                        if (exists $cinf{warning}) {
                                $warnings .= "<td>" . &comma_numbers($cinf{warning}) . "</td><td>" .