Skip to content

Commit

Permalink
fixup! fixup! Add tedge config manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruadhri17 committed Sep 25, 2023
1 parent 5b6dcfc commit aa6f953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/extensions/tedge_config_manager/src/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,10 @@ impl ConfigOperation {
fn request_into_message(&self, topic: &Topic) -> Result<MqttMessage, ConfigManagementError> {
match self {
ConfigOperation::Snapshot(request) => {
Ok(MqttMessage::new(topic, request.to_json()?).with_retain())
Ok(MqttMessage::new(topic, request.to_json()).with_retain())
}
ConfigOperation::Update(request) => {
Ok(MqttMessage::new(topic, request.to_json()?).with_retain())
Ok(MqttMessage::new(topic, request.to_json()).with_retain())
}
}
}
Expand Down

0 comments on commit aa6f953

Please sign in to comment.