From d9ea949b967b2351d2b29af53005a5f0051a8187 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Mon, 25 Nov 2024 17:33:37 +0000 Subject: [PATCH] Remove use of BaseProvider.PluginDownloadURL (#1483) We duplicated PluginDownloadURL into the BaseProvider schema block, but this isn't needed. The PluginDownloadURL field in the top of the schema will always have the same information, and it only makes sense to talk about _one_ download url for the package because there's only one plugin to download. This starts the process of removing the field from BaseProvider, once this is merged we can pull this update to pu/pu and remove the field completely from there. --- pkg/codegen/java/gen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/codegen/java/gen.go b/pkg/codegen/java/gen.go index 2246f774b92..a3a81555a8f 100644 --- a/pkg/codegen/java/gen.go +++ b/pkg/codegen/java/gen.go @@ -1857,7 +1857,7 @@ import com.pulumi.deployment.Deployment; `, pkg.Parameterization.BaseProvider.Name, pkg.Parameterization.BaseProvider.Version, - pkg.Parameterization.BaseProvider.PluginDownloadURL, + pkg.PluginDownloadURL, pkg.Name, base64.StdEncoding.EncodeToString(pkg.Parameterization.Parameter), )