From c95fea6b987d8b36ba17b9eb7bd460ee0edca5b7 Mon Sep 17 00:00:00 2001 From: Hammad Bashir Date: Wed, 1 May 2024 15:10:23 -0700 Subject: [PATCH] [BUG] Rust sysdb should send default string value (#2112) ## Description of changes *Summarize the changes made by this PR.* - Improvements & Bug fixes - The go sysdb expects this if id is set - New functionality - None ## Test plan *How are these changes tested?* - [x] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust ## Documentation Changes None --- rust/worker/src/sysdb/sysdb.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/worker/src/sysdb/sysdb.rs b/rust/worker/src/sysdb/sysdb.rs index 347934aaa13..f5b2aa37313 100644 --- a/rust/worker/src/sysdb/sysdb.rs +++ b/rust/worker/src/sysdb/sysdb.rs @@ -153,12 +153,12 @@ impl SysDb for GrpcSysDb { tenant: if tenant.is_some() { tenant.unwrap() } else { - DEFAULT_TENANT.to_string() + "".to_string() }, database: if database.is_some() { database.unwrap() } else { - DEFAULT_DATBASE.to_string() + "".to_string() }, }) .await;