Skip to content

Commit

Permalink
kebab case policy types
Browse files Browse the repository at this point in the history
  • Loading branch information
williampsmith committed Jan 16, 2025
1 parent acd6152 commit 2664a75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/sui-types/src/traffic_control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ fn default_sketch_tolerance() -> f64 {

// Serializable representation of policy types, used in config
// in order to easily change in tests or to killswitch
#[serde(rename_all = "kebab-case")]
#[derive(Clone, Serialize, Deserialize, Debug, Default)]
pub enum PolicyType {
/// Does nothing
Expand Down

0 comments on commit 2664a75

Please sign in to comment.