Skip to content

Commit

Permalink
fix(cargo): remove id from LogItemBeta
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazy committed Apr 18, 2024
1 parent 5efdddd commit 9ffc75f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions common/src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ pub struct LogItem {

#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct LogItemBeta {
pub id: String,

/// Time log was captured
pub timestamp: DateTime<Utc>,

Expand All @@ -62,9 +60,8 @@ pub struct LogItemBeta {
}

impl LogItemBeta {
pub fn new(id: String, timestamp: DateTime<Utc>, source: String, line: String) -> Self {
pub fn new(timestamp: DateTime<Utc>, source: String, line: String) -> Self {
Self {
id,
timestamp,
source,
line,
Expand Down

0 comments on commit 9ffc75f

Please sign in to comment.