refactor: LogsTZ from &str

This commit is contained in:
Jack Wills
2023-10-18 10:25:34 +00:00
parent 3fd3915b3e
commit 44f581f5b3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -625,7 +625,7 @@ impl AppData {
let current_len = container.logs.len();
for mut i in logs {
let tz = LogsTz::from(&i);
let tz = LogsTz::from(i.as_str());
// Strip the timestamp if `-t` flag set
if !timestamp {
i = i.replace(&tz.to_string(), "");