From a000568c3dd0c0b1ad276db514f354c0309c619c Mon Sep 17 00:00:00 2001 From: Georgy Moshkin <gmoshkin@picodata.io> Date: Wed, 28 Aug 2024 19:38:51 +0300 Subject: [PATCH] fix: incorrect assertion failure message --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 5f56df1ed0..ef5d032795 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1552,7 +1552,7 @@ pub fn validate_alter_system_parameter_tuple(name: &str, tuple: &Tuple) -> Resul let value = tuple.field::<f64>(1)?.expect("type already checked"); if value < 0.0 { #[rustfmt::skip] - return Err(Error::other(format!("timeout value cannot be negative"))); + return Err(Error::other("timeout value cannot be negative")); } } -- GitLab