Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 4ece3cb

Browse files
committed
fix lint issues
1 parent f5e0190 commit 4ece3cb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

pkg/collector/multiplex.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ func (c *multiplexCollector) CollectLogs(ctx context.Context, log logrus.FieldLo
5050
waiter := sync.WaitGroup{}
5151
waiter.Add(1)
5252
go func() {
53-
c.a.CollectLogs(ctx, log, pod, containerName, teeReader)
53+
_ = c.a.CollectLogs(ctx, log, pod, containerName, teeReader)
5454
pipeWriter.Close()
5555
waiter.Done()
5656
}()
5757

5858
waiter.Add(1)
5959
go func() {
60-
c.b.CollectLogs(ctx, log, pod, containerName, pipeReader)
60+
_ = c.b.CollectLogs(ctx, log, pod, containerName, pipeReader)
6161
waiter.Done()
6262
}()
6363

pkg/watcher/watcher.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type Watcher struct {
3030
initialPods []corev1.Pod
3131
initialEvents []corev1.Event
3232
opt Options
33-
seenContainers sets.String
33+
seenContainers sets.Set[string]
3434
}
3535

3636
type Options struct {
@@ -59,7 +59,7 @@ func NewWatcher(
5959
initialPods: initialPods,
6060
initialEvents: initialEvents,
6161
opt: opt,
62-
seenContainers: sets.NewString(),
62+
seenContainers: sets.New[string](),
6363
}
6464
}
6565

0 commit comments

Comments
 (0)