Skip to content

Commit

Permalink
fix: erroneously changed default policy for binary
Browse files Browse the repository at this point in the history
  • Loading branch information
j-lanson authored and mchernicoff committed Nov 13, 2024
1 parent 91181eb commit 07ddf5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/binary/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl Plugin for BinaryPlugin {
fn default_policy_expr(&self) -> Result<String> {
match self.policy_conf.get() {
None => Err(Error::UnspecifiedQueryState),
Some(policy_conf) => Ok(format!("(lte (count $) {})", policy_conf.unwrap_or(0))),
Some(policy_conf) => Ok(format!("(lte $ {})", policy_conf.unwrap_or(0))),
}
}

Expand Down

0 comments on commit 07ddf5d

Please sign in to comment.