Skip to content

Commit

Permalink
fix: allow deserializing with default
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Aug 18, 2022
1 parent 002eafc commit 3e24b8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/command/mqtt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub struct Config {
pub enum Mode {
Drogue {
// allow overriding the application
#[serde(default)]
application: Option<String>,
},
}
Expand Down

0 comments on commit 3e24b8e

Please sign in to comment.