LCOV - code coverage report
Current view: top level - source/extensions/retry/host/omit_canary_hosts - omit_canary_hosts.h (source / functions) Hit Total Coverage
Test: coverage.dat Lines: 0 4 0.0 %
Date: 2024-01-05 06:35:25 Functions: 0 2 0.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include "envoy/upstream/retry.h"
       4             : #include "envoy/upstream/upstream.h"
       5             : 
       6             : namespace Envoy {
       7             : class OmitCanaryHostsRetryPredicate : public Upstream::RetryHostPredicate {
       8             : public:
       9           0 :   bool shouldSelectAnotherHost(const Upstream::Host& candidate_host) override {
      10           0 :     return candidate_host.canary();
      11           0 :   }
      12             : 
      13           0 :   void onHostAttempted(Upstream::HostDescriptionConstSharedPtr) override {}
      14             : };
      15             : } // namespace Envoy

Generated by: LCOV version 1.15