Skip to content

Commit

Permalink
Remove deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Dec 16, 2024
1 parent 66e4cbd commit 158b70b
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,13 +362,6 @@ func (i *Test) generateCaptiveCoreCfgForContainer() {

// Get old version of captive-core-integration-tests.cfg.tmpl
out, err := getOldVersionCaptiveCoreConfigVersion("docker", captiveCoreConfigTemplateFilename)
if err != nil {
// Try the directory before the integration test refactoring
// TODO: remove this hack after protocol 22 is released
out, err = getOldVersionCaptiveCoreConfigVersion("../../test", captiveCoreConfigFilename)
outStr := strings.Replace(string(out), `ADDRESS="localhost"`, `ADDRESS="${CORE_HOST_PORT}"`, -1)
out = []byte(outStr)
}
require.NoError(i.t, err)
i.generateCaptiveCoreCfg(out, inContainerCaptiveCorePort, inContainerCoreHostname)
}
Expand Down

0 comments on commit 158b70b

Please sign in to comment.