Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonQ committed Aug 24, 2023
1 parent 0203d01 commit 9bac4f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -1707,11 +1707,6 @@ func createTestRunner(matrix bool, singleTest string, goTestFlags string, batche
agentStackVersion = agentVersion
}

// agentStackVersion, err = featurefreeze.AdjustVersion(agentStackVersion)
// if err != nil {
// return nil, err
// }

agentBuildDir := os.Getenv("AGENT_BUILD_DIR")
if agentBuildDir == "" {
agentBuildDir = filepath.Join("build", "distributions")
Expand Down
10 changes: 0 additions & 10 deletions pkg/testing/fixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"gopkg.in/yaml.v2"

"github.com/elastic/elastic-agent/internal/pkg/agent/application/paths"

"github.com/elastic/elastic-agent/pkg/component"
"github.com/elastic/elastic-agent/pkg/control"
"github.com/elastic/elastic-agent/pkg/control/v2/client"
Expand Down Expand Up @@ -179,15 +178,6 @@ func (f *Fixture) Prepare(ctx context.Context, components ...UsableComponent) er

f.workDir = finalDir

// version, err := featurefreeze.AdjustVersion(f.version)
// if err != nil {
// return fmt.Errorf("could not adjust version during feature freeze")
// }
// err = featurefreeze.ChangePackageVersion(workDir, version)
// if err != nil {
// return err
// }

return nil
}

Expand Down

0 comments on commit 9bac4f3

Please sign in to comment.