From 3ddbbdc0433c29554a2e677618e76e8de3abf953 Mon Sep 17 00:00:00 2001 From: Florian Stadler Date: Mon, 6 Jan 2025 19:52:31 +0100 Subject: [PATCH] Remove unused code --- awsx/ecr/image.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/awsx/ecr/image.ts b/awsx/ecr/image.ts index 746659f0e..a33fdd924 100644 --- a/awsx/ecr/image.ts +++ b/awsx/ecr/image.ts @@ -33,9 +33,6 @@ export function computeImageFromAsset( ) { const { repositoryUrl, registryId: inputRegistryId, imageTag, ...dockerInputs } = args ?? {}; - const url = new URL("https://" + repositoryUrl); // Add protocol to help it parse - const registryId = inputRegistryId ?? url.hostname.split(".")[0]; - pulumi.log.debug(`Building container image at '${JSON.stringify(dockerInputs)}'`, parent); const imageName = args.imageName