mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-09 06:35:03 +00:00
fix: machine logs timestamp parsing and streaming for systemd <v255
This commit is contained in:
1 parent
f379bf4c14
commit
50057c42e0
4 files changed
+132
-16
No files matched your search
@@ -47,7 +47,7 @@ func logs(ctx context.Context, unit string, opts api.ServiceLogsOptions) (io.Rea
|
||||
}
|
||||
|
||||
args = append(args, "-o")
|
||||
args = append(args, "short-iso-precise")
|
||||
args = append(args, "short-unix")
|
||||
|
||||
if opts.Since != "" {
|
||||
args = append(args, "-S")
|
||||
|
||||
Reference in new issue
Block a user