diff --git a/Cargo.lock b/Cargo.lock index 6f0f9205ca..410172c750 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4264,6 +4264,7 @@ dependencies = [ "arrow-schema 54.3.1", "async-recursion", "async-trait", + "auth", "bytes", "cache", "catalog", @@ -8586,6 +8587,7 @@ dependencies = [ "common-base", "common-error", "datanode", + "flow", "frontend", "meta-srv", "serde", diff --git a/src/auth/src/common.rs b/src/auth/src/common.rs index 8a13e3fc3d..3c48f527e4 100644 --- a/src/auth/src/common.rs +++ b/src/auth/src/common.rs @@ -36,7 +36,7 @@ pub fn userinfo_by_name(username: Option) -> UserInfoRef { } pub fn user_provider_from_option(opt: &String) -> Result { - let (name, content) = opt.split_once(':').context(InvalidConfigSnafu { + let (name, content) = opt.split_once(':').with_context(|| InvalidConfigSnafu { value: opt.to_string(), msg: "UserProviderOption must be in format `