fix: reference ProviderImpl config properly

self.config.run_config -> self.config.config

Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
Charlie Doern 2025-12-01 13:51:25 -05:00
parent ec1a308dac
commit 457482d7a0

View file

@ -41,7 +41,7 @@ class ProviderImpl(Providers):
pass pass
async def list_providers(self) -> ListProvidersResponse: async def list_providers(self) -> ListProvidersResponse:
run_config = self.config run_config = self.config.config
safe_config = StackConfig(**redact_sensitive_fields(run_config.model_dump())) safe_config = StackConfig(**redact_sensitive_fields(run_config.model_dump()))
providers_health = await self.get_providers_health() providers_health = await self.get_providers_health()
ret = [] ret = []