Skip to content

Commit

Permalink
enhancement(5832): removed print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
kaanyalti committed Dec 3, 2024
1 parent 2224686 commit b463ed5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/testing/fixture_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,6 @@ func (f *Fixture) installRpm(ctx context.Context, installOpts *InstallOpts, shou
return nil, fmt.Errorf("failed to prepare: %w", err)
}

fmt.Println("===================== SOURCE PACKAGE ======================")
fmt.Println(f.srcPackage)
fmt.Println("===========================================================")
// sudo rpm -iv elastic-agent rpm
out, err := exec.CommandContext(ctx, "sudo", "rpm", "-i", "-v", f.srcPackage).CombinedOutput() // #nosec G204 -- Need to pass in name of package
if err != nil {
Expand Down Expand Up @@ -542,9 +539,6 @@ func (f *Fixture) installRpm(ctx context.Context, installOpts *InstallOpts, shou

// start elastic-agent
out, err = exec.CommandContext(ctx, "sudo", "systemctl", "start", "elastic-agent").CombinedOutput()
fmt.Println("========================= OUTPUT =======================")
fmt.Println(out)
fmt.Println("========================================================")
if err != nil {
return out, fmt.Errorf("systemctl start elastic-agent failed: %w", err)
}
Expand Down

0 comments on commit b463ed5

Please sign in to comment.