Skip to content

Commit

Permalink
Rename from needle to search_text
Browse files Browse the repository at this point in the history
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
  • Loading branch information
rina23q committed Aug 29, 2023
1 parent 11b23a3 commit 5bf727e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ pub struct SmartRestLogRequest {
pub date_from: OffsetDateTime,
#[serde(deserialize_with = "to_datetime")]
pub date_to: OffsetDateTime,
pub needle: Option<String>,
pub search_text: Option<String>,
pub lines: usize,
}

Expand Down
2 changes: 1 addition & 1 deletion crates/extensions/c8y_log_manager/src/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl LogManagerActor {
&smartrest_request.log_type,
smartrest_request.date_from,
smartrest_request.lines,
&smartrest_request.needle,
&smartrest_request.search_text,
)?;

let upload_event_url = self
Expand Down

0 comments on commit 5bf727e

Please sign in to comment.