Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ShotaKitazawa committed Jan 21, 2024
1 parent d9bd6bb commit d5ab3fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/infrastructure/kubernetes/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package kubernetes

import (
"context"
"io"
"log/slog"
"testing"

networkingv1 "k8s.io/api/networking/v1"
Expand Down Expand Up @@ -74,6 +76,7 @@ func TestClient_ListIngressInfo(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
c := &Client{
log: slog.New(slog.NewJSONHandler(io.Discard, nil)),
clientset: tt.fields.clientset,
}
got, err := c.ListIngress(tt.args.ctx)
Expand Down

0 comments on commit d5ab3fc

Please sign in to comment.