Skip to content

Commit 2849547

Browse files
committed
Fix
Signed-off-by: Pavol Loffay <[email protected]>
1 parent ed2db96 commit 2849547

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg/instrumentation/podmutator.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,8 @@ func (pm *instPodMutator) Mutate(ctx context.Context, ns corev1.Namespace, pod c
396396
return pod, err
397397
}
398398

399-
if err = pm.validateInstrumentations(ctx, insts, pod.Namespace); err != nil {
399+
if err = pm.validateInstrumentations(ctx, insts, ns.Name); err != nil {
400+
logger.Error(err, "failed to validate instrumentations")
400401
return pod, err
401402
}
402403

tests/e2e-instrumentation/instrumentation-java-tls/00-install-collector.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec:
3434
processors:
3535

3636
exporters:
37-
debug:
37+
debug: {}
3838

3939
service:
4040
pipelines:

0 commit comments

Comments
 (0)