Skip to content

Commit

Permalink
Merge pull request #1407 from kube-rs/bugfix/pascalcase-terminal-size
Browse files Browse the repository at this point in the history
Serialize TerminalSize fields as PascalCase
  • Loading branch information
nightkr authored Feb 12, 2024
2 parents ee54184 + 8df88ce commit ea0ea39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kube-client/src/api/remote_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ type TerminalSizeSender = mpsc::Sender<TerminalSize>;
/// TerminalSize define the size of a terminal
#[derive(Debug, Serialize, Deserialize)]
#[cfg_attr(docsrs, doc(cfg(feature = "ws")))]
#[serde(rename_all = "PascalCase")]
pub struct TerminalSize {
/// width of the terminal
pub width: u16,
Expand Down

0 comments on commit ea0ea39

Please sign in to comment.