From cb4253c33ff3ef16401a125ba4a47560e688eb4f Mon Sep 17 00:00:00 2001 From: Alexander Kaplan Date: Wed, 8 May 2024 14:31:40 -0700 Subject: [PATCH] DotNet SDK update to 1.0.0-rc.2 (#1245) --- appmonitoring/ts/src/Mutations.ts | 2 +- appmonitoring/ts/src/tests/Patcher.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appmonitoring/ts/src/Mutations.ts b/appmonitoring/ts/src/Mutations.ts index fe627fd4f..7f0657580 100644 --- a/appmonitoring/ts/src/Mutations.ts +++ b/appmonitoring/ts/src/Mutations.ts @@ -13,7 +13,7 @@ export class Mutations { private static agentImageCommonPrefix = "mcr.microsoft.com/applicationinsights"; private static agentImageDotNet = { repositoryPath: "opentelemetry-auto-instrumentation/dotnet", - imageTag: "1.0.0-rc.1" + imageTag: "1.0.0-rc.2" }; private static agentImageNodeJs = { repositoryPath: "opentelemetry-auto-instrumentation/nodejs", diff --git a/appmonitoring/ts/src/tests/Patcher.spec.ts b/appmonitoring/ts/src/tests/Patcher.spec.ts index d09ff7f81..47c1b02b3 100644 --- a/appmonitoring/ts/src/tests/Patcher.spec.ts +++ b/appmonitoring/ts/src/tests/Patcher.spec.ts @@ -981,7 +981,7 @@ describe("Patcher", () => { const newInitContainers: IContainer[] = Mutations.GenerateInitContainers(platforms, cr1.spec.settings.imageRepoPath); expect((result[0]).value.spec.template.spec.initContainers.length).toBe(admissionReview.request.object.spec.template.spec.initContainers.length + newInitContainers.length); - expect((result[0]).value.spec.template.spec.initContainers[2].image).toBe(`myacr.azurecr.io/some-namespace-blah/opentelemetry-auto-instrumentation/dotnet:1.0.0-rc.1`); + expect((result[0]).value.spec.template.spec.initContainers[2].image).toBe(`myacr.azurecr.io/some-namespace-blah/opentelemetry-auto-instrumentation/dotnet:1.0.0-rc.2`); expect((result[0]).value.spec.template.spec.initContainers[3].image).toBe(`myacr.azurecr.io/some-namespace-blah/auto-instrumentation/java:3.5.2-aks`); expect((result[0]).value.spec.template.spec.initContainers[4].image).toBe(`myacr.azurecr.io/some-namespace-blah/opentelemetry-auto-instrumentation/nodejs:3.0.0`); });