Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
RWDai committed Apr 18, 2024
1 parent d349e4c commit b8580f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/config/src/service/k8s/retrieve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ impl Retrieve for K8s {

async fn retrieve_all_plugins(&self) -> Result<Vec<PluginConfig>, BoxError> {
let filter_api: Api<SgFilter> = 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)
}
Expand Down

0 comments on commit b8580f1

Please sign in to comment.