Skip to content

Commit

Permalink
Fixed composite prober logic (#3273)
Browse files Browse the repository at this point in the history
Signed-off-by: Calum Murray <[email protected]>
  • Loading branch information
Cali0707 authored Aug 8, 2023
1 parent 69db9c4 commit a9b7d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control-plane/pkg/prober/composite_prober.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9b7d5f

Please sign in to comment.