This message was deleted.
# general
s
This message was deleted.
m
Hi Andreas, Do you mean a custom component resource?
s
yes
I see the possibility to get the config postgresql:host but I guess that does not work in case a custom provider is provider.
and I see the the optionto call self.get_provider('postgresql') in the constructor but it always return None
m
Not 100% sure, maybe @limited-rainbow-51650 has some ideas
l
@stocky-ocean-5511 where do you currently get the hostname from to create the custom postgres provider?
s
I create a customer provider and provide it via opts down to the component. I just checked, that self.get_provider works with "postgresql::" with two colons