Skip to content

Commit 614c72e

Browse files
committed
Update config TLS field in C bridge to be Option
1 parent c4212d7 commit 614c72e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core-c-bridge/src/envconfig.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ impl From<CoreClientConfigProfile> for ClientConfigProfile {
9898

9999
#[derive(Serialize)]
100100
struct ClientConfigTLS {
101-
#[serde(skip_serializing_if = "std::ops::Not::not")]
102-
disabled: bool,
101+
#[serde(skip_serializing_if = "Option::is_none")]
102+
disabled: Option<bool>,
103103
#[serde(skip_serializing_if = "Option::is_none")]
104104
server_name: Option<String>,
105105
#[serde(skip_serializing_if = "Option::is_none")]

0 commit comments

Comments
 (0)