Skip to content

Commit

Permalink
fix: add stickiness to strategy variants (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
sighphyre authored Jan 23, 2024
1 parent edf3920 commit 9afeb15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client_features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ pub struct StrategyVariant {
pub weight: i32,
#[serde(skip_serializing_if = "Option::is_none")]
pub payload: Option<Payload>,
#[serde(skip_serializing_if = "Option::is_none")]
pub stickiness: Option<String>,
}

impl PartialOrd for Variant {
Expand Down

0 comments on commit 9afeb15

Please sign in to comment.