aboutsummaryrefslogtreecommitdiff
path: root/plugin/pkg/healthcheck/policy.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/pkg/healthcheck/policy.go')
-rw-r--r--plugin/pkg/healthcheck/policy.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/pkg/healthcheck/policy.go b/plugin/pkg/healthcheck/policy.go
index 3b8ade852..caab849fd 100644
--- a/plugin/pkg/healthcheck/policy.go
+++ b/plugin/pkg/healthcheck/policy.go
@@ -29,6 +29,9 @@ func init() {
RegisterPolicy("least_conn", func() Policy { return &LeastConn{} })
RegisterPolicy("round_robin", func() Policy { return &RoundRobin{} })
RegisterPolicy("first", func() Policy { return &First{} })
+ // 'sequential' is an alias to 'first' to maintain consistency with the forward plugin
+ // should probably remove 'first' in a future release
+ RegisterPolicy("sequential", func() Policy { return &First{} })
}
// Random is a policy that selects up hosts from a pool at random.