Skip to content

Commit

Permalink
fix: Removed startmode from Plugin State Status structure (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinodsathyaseelan authored Jul 16, 2024
1 parent 415e8d0 commit 240c2b3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/main/src/broker/thunder/thunder_plugins_status_mgr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const STATE_CHANGE_EVENT_METHOD: &str = "client.Controller.1.events.statechange"
pub struct Status {
pub callsign: String,
pub state: String,
pub startmode: String,
}

#[derive(Debug, Deserialize)]
Expand Down Expand Up @@ -568,9 +567,7 @@ mod tests {
let data = JsonRpcApiResponse {
id: Some(1),
jsonrpc: "2.0".to_string(),
result: Some(
serde_json::json!([{"callsign":"TestPlugin","state":"activated","startmode":"auto"}]),
),
result: Some(serde_json::json!([{"callsign":"TestPlugin","state":"activated"}])),
error: None,
method: None,
params: None,
Expand Down

0 comments on commit 240c2b3

Please sign in to comment.