From 07ddf5d83c06b23ccc13b234a3bf61e8afcca420 Mon Sep 17 00:00:00 2001 From: jlanson Date: Wed, 13 Nov 2024 08:41:01 -0500 Subject: [PATCH] fix: erroneously changed default policy for binary --- plugins/binary/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/binary/src/main.rs b/plugins/binary/src/main.rs index 30103e27..0fdfd72a 100644 --- a/plugins/binary/src/main.rs +++ b/plugins/binary/src/main.rs @@ -107,7 +107,7 @@ impl Plugin for BinaryPlugin { fn default_policy_expr(&self) -> Result { 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))), } }