Skip to content

Commit

Permalink
address pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
efd6 committed Jul 13, 2023
1 parent ad90cad commit d714a57
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packetbeat/beater/install_npcap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,9 @@ func TestCanInstallNpcap(t *testing.T) {
t.Fatalf("unexpected error: %v", err)
}
b := &beat.Beat{
BeatConfig: cfg,
Manager: boolManager{managed: test.managed},
Manager: boolManager{managed: test.managed},
}
got, err := canInstallNpcap(b, b.BeatConfig)
got, err := canInstallNpcap(b, cfg)
if err != nil {
t.Errorf("unexpected error from canInstallNpcap: %v", err)
}
Expand Down

0 comments on commit d714a57

Please sign in to comment.