Skip to content

Commit 3037faf

Browse files
committed
chore: remove unnecessary sysfs option in monitor
Signed-off-by: Sunil Thaha <sthaha@redhat.com>
1 parent d9d383c commit 3037faf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/monitor/options.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313

1414
type Opts struct {
1515
logger *slog.Logger
16-
sysfsPath string
1716
interval time.Duration
1817
clock clock.WithTicker
1918
maxStaleness time.Duration
@@ -25,7 +24,6 @@ type Opts struct {
2524
func DefaultOpts() Opts {
2625
return Opts{
2726
logger: slog.Default(),
28-
sysfsPath: "/sys",
2927
interval: 5 * time.Second,
3028
clock: clock.RealClock{},
3129
maxStaleness: 500 * time.Millisecond,

0 commit comments

Comments
 (0)