From acf7644fa95f0f2b08858566c3edb366bb333a15 Mon Sep 17 00:00:00 2001 From: Matej Gera Date: Mon, 18 Dec 2023 11:12:06 +0100 Subject: [PATCH] Format; fix mistakenly changed test image Signed-off-by: Matej Gera --- cmd/otel-allocator/allocation/per_node.go | 2 +- tests/e2e-opampbridge/opampbridge/00-install.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/otel-allocator/allocation/per_node.go b/cmd/otel-allocator/allocation/per_node.go index 7abe62d81f..cd9871cd2b 100644 --- a/cmd/otel-allocator/allocation/per_node.go +++ b/cmd/otel-allocator/allocation/per_node.go @@ -191,6 +191,7 @@ func (allocator *perNodeAllocator) handleTargets(diff diff.Changes[*target.Item] } } } + // Check for unassigned targets if len(unassignedTargetsForJobs) > 0 { jobs := make([]string, 0, len(unassignedTargetsForJobs)) @@ -200,7 +201,6 @@ func (allocator *perNodeAllocator) handleTargets(diff diff.Changes[*target.Item] allocator.log.Info("Could not assign targets for the following jobs due to missing node labels", "jobs", jobs) } - } // addTargetToTargetItems assigns a target to the collector and adds it to the allocator's targetItems diff --git a/tests/e2e-opampbridge/opampbridge/00-install.yaml b/tests/e2e-opampbridge/opampbridge/00-install.yaml index da833f429a..3f4f353f15 100644 --- a/tests/e2e-opampbridge/opampbridge/00-install.yaml +++ b/tests/e2e-opampbridge/opampbridge/00-install.yaml @@ -26,7 +26,7 @@ kind: OpAMPBridge metadata: name: test spec: - image: "ghcr.io/open-telemetry/opentelemetry-operator/operator-opamp-bridge:v0.90.0-14-g082e678" + image: "local/opentelemetry-operator-opamp-bridge:e2e" endpoint: ws://opamp-server:4320/v1/opamp capabilities: AcceptsOpAMPConnectionSettings: true