fixed errors

This commit is contained in:
Safwan
2026-02-13 17:05:29 +05:00
parent 003fbbfa1f
commit f776e2dfd0

View File

@@ -45,7 +45,7 @@ func TestHealthz(t *testing.T) {
want := 200
if got != want {
t.Fatalf("got: %q, want: %q", got, want)
t.Fatalf("got: %d, want: %d", got, want)
}
// Have the liveness probe serve a 500
@@ -63,7 +63,7 @@ func TestHealthz(t *testing.T) {
want = 500
if got != want {
t.Fatalf("got: %q, want: %q", got, want)
t.Fatalf("got: %d, want: %d", got, want)
}
}
@@ -89,7 +89,7 @@ func TestRunLeaderElection(t *testing.T) {
want := 500
if got != want {
t.Fatalf("got: %q, want: %q", got, want)
t.Fatalf("got: %d, want: %d", got, want)
}
// Cancel the leader election context, so leadership is released and
@@ -108,7 +108,7 @@ func TestRunLeaderElection(t *testing.T) {
want = 500
if got != want {
t.Fatalf("got: %q, want: %q", got, want)
t.Fatalf("got: %d, want: %d", got, want)
}
}