From b8580f1757329e1a94f3fddbbbc32e5e1a6addb3 Mon Sep 17 00:00:00 2001 From: RWDai <27391645+RWDai@users.noreply.github.com> Date: Thu, 18 Apr 2024 11:02:24 +0000 Subject: [PATCH] update --- crates/config/src/service/k8s/retrieve.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/config/src/service/k8s/retrieve.rs b/crates/config/src/service/k8s/retrieve.rs index cb821448..cc310771 100644 --- a/crates/config/src/service/k8s/retrieve.rs +++ b/crates/config/src/service/k8s/retrieve.rs @@ -125,8 +125,8 @@ impl Retrieve for K8s { async fn retrieve_all_plugins(&self) -> Result, BoxError> { let filter_api: Api = self.get_namespace_api(); - - let result = filter_api.list(&ListParams::default()).await?.iter().map(|gateway| gateway.name_any()).collect(); + + let result = filter_api.list(&ListParams::default()).await?.iter().map(|gateway| gateway.to_pluginconfig()).collect(); Ok(result) }