mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
rename probe.Healthy to probe.Success and renam probe.Unhealthy to probe.Failure.
This commit is contained in:
@@ -35,8 +35,8 @@ func TestTcpHealthChecker(t *testing.T) {
|
||||
expectError bool
|
||||
}{
|
||||
// The probe will be filled in below. This is primarily testing that a connection is made.
|
||||
{probe.Healthy, true, false},
|
||||
{probe.Unhealthy, false, false},
|
||||
{probe.Success, true, false},
|
||||
{probe.Failure, false, false},
|
||||
}
|
||||
|
||||
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
Reference in New Issue
Block a user