From ae160c2defe0f382605adbb831a5e55f8310947f Mon Sep 17 00:00:00 2001 From: shuiyisong <113876041+shuiyisong@users.noreply.github.com> Date: Wed, 17 Jan 2024 17:30:32 +0800 Subject: [PATCH] fix: change back `GREPTIME_DB_HEADER_NAME` header key name (#3184) fix: change back dbname header key --- src/servers/src/http/header.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/src/http/header.rs b/src/servers/src/http/header.rs index f8907f1e75..b994da9450 100644 --- a/src/servers/src/http/header.rs +++ b/src/servers/src/http/header.rs @@ -17,7 +17,7 @@ use headers::{Header, HeaderName, HeaderValue}; pub const GREPTIME_DB_HEADER_FORMAT: &str = "x-greptime-format"; pub const GREPTIME_DB_HEADER_EXECUTION_TIME: &str = "x-greptime-execution-time"; -pub static GREPTIME_DB_HEADER_NAME: HeaderName = HeaderName::from_static("x-greptime-name"); +pub static GREPTIME_DB_HEADER_NAME: HeaderName = HeaderName::from_static("x-greptime-db-name"); pub static GREPTIME_TIMEZONE_HEADER_NAME: HeaderName = HeaderName::from_static("x-greptime-timezone");