From 1e950026db9b5b5c443ac15c35391092adb7c940 Mon Sep 17 00:00:00 2001 From: zyy17 Date: Sat, 11 May 2024 15:56:03 +0800 Subject: [PATCH] fix: clippy errors --- src/datanode/src/error.rs | 2 +- src/frontend/src/error.rs | 2 +- src/meta-srv/src/error.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/datanode/src/error.rs b/src/datanode/src/error.rs index 281cd05fead7..f62c4604b41b 100644 --- a/src/datanode/src/error.rs +++ b/src/datanode/src/error.rs @@ -364,7 +364,7 @@ pub enum Error { TomlFormat { #[snafu(implicit)] location: Location, - source: common_config::error::Error, + source: Box, }, } diff --git a/src/frontend/src/error.rs b/src/frontend/src/error.rs index cad03de71b71..d92a3c38ccaf 100644 --- a/src/frontend/src/error.rs +++ b/src/frontend/src/error.rs @@ -345,7 +345,7 @@ pub enum Error { TomlFormat { #[snafu(implicit)] location: Location, - source: common_config::error::Error, + source: Box, }, #[snafu(display("Failed to get cache from cache registry: {}", name))] diff --git a/src/meta-srv/src/error.rs b/src/meta-srv/src/error.rs index c3ab21b380ab..167398cc562c 100644 --- a/src/meta-srv/src/error.rs +++ b/src/meta-srv/src/error.rs @@ -837,7 +837,7 @@ pub enum Error { TomlFormat { #[snafu(implicit)] location: Location, - source: common_config::error::Error, + source: Box, }, }