Skip to content

Commit

Permalink
attempt to fix on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pront committed Jan 17, 2025
1 parent 6fcc942 commit e6a9e5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sinks/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ pub struct UdpMode {
}

/// Unix Domain Socket configuration.
#[cfg(unix)]
#[configurable_component]
#[derive(Clone, Debug)]
pub struct UnixMode {
Expand Down Expand Up @@ -169,7 +168,7 @@ impl SinkConfig for SocketSinkConfig {
)
}
else {
Err("UnixDatagram is supported only on unix and also it is not avalailable on macOS platforms.".into())
Err("UnixDatagram is supported only on unix and also it is not available on macOS platforms.".into())
}
}
}
Expand Down

0 comments on commit e6a9e5c

Please sign in to comment.