Skip to content

Commit

Permalink
logsush
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpristas committed Jun 20, 2024
1 parent 39d5595 commit c909c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/testing/fixture_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (f *Fixture) installNoPkgManager(ctx context.Context, installOpts *InstallO
psCommand := `Get-EventLog -LogName Application -Source "Elastic Agent" -Newest 1000`
out, err := exec.Command("powershell", "-NoProfile", psCommand).CombinedOutput()
if err != nil {
f.t.Logf("error executing command: %s", err)
f.t.Logf("error executing command: %s with output %s", err, string(out))
} else {
if err := os.WriteFile(filePath, out, 0666); err != nil {
f.t.Logf("error wrting file %s: %s", filePath, err)
Expand Down

0 comments on commit c909c7d

Please sign in to comment.