diff --git a/admin/src/dto/query_dto.rs b/admin/src/dto/query_dto.rs index cb8bbd2e..e98c926a 100644 --- a/admin/src/dto/query_dto.rs +++ b/admin/src/dto/query_dto.rs @@ -1,4 +1,4 @@ -use crate::dto::base_dto::{TargetRefDTO}; +use crate::dto::base_dto::TargetRefDTO; #[cfg(feature = "k8s")] use crate::dto::ToFields; diff --git a/kernel/src/config/config_by_k8s.rs b/kernel/src/config/config_by_k8s.rs index 6e9d9970..126d320b 100644 --- a/kernel/src/config/config_by_k8s.rs +++ b/kernel/src/config/config_by_k8s.rs @@ -19,11 +19,11 @@ use tardis::{ use crate::{do_startup, functions::http_route, shutdown}; -use crate::constants::{BANCKEND_KIND_EXTERNAL_HTTP, BANCKEND_KIND_EXTERNAL_HTTPS}; +use crate::constants::{BANCKEND_KIND_EXTERNAL, BANCKEND_KIND_EXTERNAL_HTTP, BANCKEND_KIND_EXTERNAL_HTTPS}; use crate::helpers::k8s_helper; use crate::plugins::filters::header_modifier::SgFilterHeaderModifierKind; use kernel_dto::constants::GATEWAY_CLASS_NAME; -use kernel_dto::dto::plugin_filter_dto::{SgHttpPathModifier, SgHttpPathModifierType}; +use kernel_dto::dto::plugin_filter_dto::SgHttpPathModifierType; use kernel_dto::dto::{ gateway_dto::{SgGateway, SgListener, SgParameters, SgProtocol, SgTlsConfig, SgTlsMode}, http_route_dto::{