Skip to content

Commit

Permalink
Merge pull request #20 from newrelic-experimental/dotnet-windows
Browse files Browse the repository at this point in the history
Update dotnetedgewindows.go
  • Loading branch information
andrew-lozoya authored Nov 21, 2024
2 parents d044494 + 30f5c57 commit 723ecb6
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/apm/dotnetedgewindows.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,10 @@ func (i DotnetEdgeWindowsInjector) Inject(ctx context.Context, inst v1alpha2.Ins
Name: dotnetEdgeWindowsInitContainerName,
Image: inst.Spec.Agent.Image,
Command: []string{"cmd", "/C", "xcopy C:\\instrumentation C:\\newrelic-instrumentation /E /I /H /Y"},
VolumeMounts: []corev1.VolumeMount{
{
Name: volumeName,
MountPath: "C:\\newrelic-instrumentation",
},
{
Name: "scripts-volume",
MountPath: "C:\\inetpub\\wwwroot\\Scripts",
},
},
VolumeMounts: []corev1.VolumeMount{{
Name: volumeName,
MountPath: "C:\\newrelic-instrumentation",
}},
})
}

Expand Down

0 comments on commit 723ecb6

Please sign in to comment.