projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7f84c7
)
added missing timestamp column to date-df files
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 27 Jun 2023 14:48:26 +0000
(16:48 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 27 Jun 2023 14:48:26 +0000
(16:48 +0200)
lib/MojoFacets/Import/Log.pm
patch
|
blob
|
history
diff --git
a/lib/MojoFacets/Import/Log.pm
b/lib/MojoFacets/Import/Log.pm
index
e0f03b1
..
e95742a
100644
(file)
--- a/
lib/MojoFacets/Import/Log.pm
+++ b/
lib/MojoFacets/Import/Log.pm
@@
-20,7
+20,7
@@
sub data {
my $need_header = 1;
my @header;
- @header = qw(Filesystem 1K-blocks Used Available Use% Mounted-on) if $path =~ m/date-df/;
+ @header = qw(
timestamp
Filesystem 1K-blocks Used Available Use% Mounted-on) if $path =~ m/date-df/;
open(my $fh, $path) || die "$path: $!";
while(<$fh>) {