From a9b7d5f91f48957fe6f12331e34350caf7ed1453 Mon Sep 17 00:00:00 2001 From: Calum Murray Date: Tue, 8 Aug 2023 07:01:34 -0400 Subject: [PATCH] Fixed composite prober logic (#3273) Signed-off-by: Calum Murray --- control-plane/pkg/prober/composite_prober.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control-plane/pkg/prober/composite_prober.go b/control-plane/pkg/prober/composite_prober.go index cff6c10e8d..8c51b21bf7 100644 --- a/control-plane/pkg/prober/composite_prober.go +++ b/control-plane/pkg/prober/composite_prober.go @@ -60,7 +60,7 @@ func (c *compositeProber) Probe(ctx context.Context, addressable NewAddressable, if addr.URL.Scheme == "https" { status = c.httpsProber.Probe(ctx, oldAddressable, expected) } else if addr.URL.Scheme == "http" { - c.httpProber.Probe(ctx, oldAddressable, expected) + status = c.httpProber.Probe(ctx, oldAddressable, expected) } if status != expected { return status