Skip to content

Commit

Permalink
Fix call to get resourceprovider if not cached
Browse files Browse the repository at this point in the history
  • Loading branch information
jkupferer committed Aug 16, 2024
1 parent 8392e52 commit 526f440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/resourceprovider.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ async def get(cls, name: str) -> ResourceProviderT:
resource_provider = cls.instances.get(name)
if resource_provider:
return resource_provider
definition = await Poolboy.custom_objects_api.get_cluster_custom_object(
definition = await Poolboy.custom_objects_api.get_namespaced_custom_object(
group = Poolboy.operator_domain,
name = name,
namespace = Poolboy.namespace,
Expand Down

0 comments on commit 526f440

Please sign in to comment.