From 74a4287bb01a2ba035e7e8db2b8778938ee87353 Mon Sep 17 00:00:00 2001 From: Levi Blackstone Date: Thu, 11 Nov 2021 11:50:32 -0700 Subject: [PATCH] Another fix --- provider/pkg/gen/python-templates/kustomize/kustomize.py | 2 +- sdk/python/pulumi_kubernetes/kustomize/kustomize.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/provider/pkg/gen/python-templates/kustomize/kustomize.py b/provider/pkg/gen/python-templates/kustomize/kustomize.py index c788d9cc78..f7e44e4247 100644 --- a/provider/pkg/gen/python-templates/kustomize/kustomize.py +++ b/provider/pkg/gen/python-templates/kustomize/kustomize.py @@ -119,7 +119,7 @@ def omit_resource(obj, opts): # Note: Unlike NodeJS, Python requires that we "pull" on our futures in order to get them scheduled for # execution. In order to do this, we leverage the engine's RegisterResourceOutputs to wait for the # resolution of all resources that this YAML document created. - self.resources = k8s.yaml._parse_yaml_document(__ret__, opts, transformations, resource_prefix) + self.resources = k8s.yaml.yaml._parse_yaml_document(__ret__, opts, transformations, resource_prefix) self.register_outputs({"resources": self.resources}) def translate_output_property(self, prop: str) -> str: diff --git a/sdk/python/pulumi_kubernetes/kustomize/kustomize.py b/sdk/python/pulumi_kubernetes/kustomize/kustomize.py index c788d9cc78..f7e44e4247 100644 --- a/sdk/python/pulumi_kubernetes/kustomize/kustomize.py +++ b/sdk/python/pulumi_kubernetes/kustomize/kustomize.py @@ -119,7 +119,7 @@ def omit_resource(obj, opts): # Note: Unlike NodeJS, Python requires that we "pull" on our futures in order to get them scheduled for # execution. In order to do this, we leverage the engine's RegisterResourceOutputs to wait for the # resolution of all resources that this YAML document created. - self.resources = k8s.yaml._parse_yaml_document(__ret__, opts, transformations, resource_prefix) + self.resources = k8s.yaml.yaml._parse_yaml_document(__ret__, opts, transformations, resource_prefix) self.register_outputs({"resources": self.resources}) def translate_output_property(self, prop: str) -> str: