forked from Ivasoft/traefik
Override health check scheme
This commit is contained in:
committed by
Traefiker Bot
parent
b7d20496f3
commit
df11e67bb4
@@ -123,6 +123,7 @@ func TestBuildConfiguration(t *testing.T) {
|
||||
withLabel(label.TraefikBackend, "foobar"),
|
||||
|
||||
withLabel(label.TraefikBackendCircuitBreakerExpression, "NetworkErrorRatio() > 0.5"),
|
||||
withLabel(label.TraefikBackendHealthCheckScheme, "http"),
|
||||
withLabel(label.TraefikBackendHealthCheckPath, "/health"),
|
||||
withLabel(label.TraefikBackendHealthCheckPort, "880"),
|
||||
withLabel(label.TraefikBackendHealthCheckInterval, "6"),
|
||||
@@ -318,6 +319,7 @@ func TestBuildConfiguration(t *testing.T) {
|
||||
ExtractorFunc: "client.ip",
|
||||
},
|
||||
HealthCheck: &types.HealthCheck{
|
||||
Scheme: "http",
|
||||
Path: "/health",
|
||||
Port: 880,
|
||||
Interval: "6",
|
||||
|
||||
Reference in New Issue
Block a user