Skip to content

Commit

Permalink
Fix integration command (DataDog#3601)
Browse files Browse the repository at this point in the history
* Fix integration command

* address review

* Revert "address review"

This reverts commit de01902.
  • Loading branch information
ofek authored and truthbk committed Jun 3, 2019
1 parent df3153d commit b53c092
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/agent/app/integrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (

const (
reqAgentReleaseFile = "requirements-agent-release.txt"
constraintsFile = "final_constraints.txt"
constraintsFile = "final_constraints-py2.txt"
reqLinePattern = "%s==(\\d+\\.\\d+\\.\\d+)"
downloaderModule = "datadog_checks.downloader"
disclaimer = "For your security, only use this to install wheels containing an Agent integration " +
Expand Down
2 changes: 1 addition & 1 deletion cmd/agent/app/integrations_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

const (
pythonBin = "python"
pythonBin = "python2"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/agent/app/integrations_nix.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

const (
pythonBin = "python"
pythonBin = "python2"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/agent/app/integrations_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const (
)

var (
relPyPath = pythonBin
relChecksPath = filepath.Join("Lib", "site-packages", "datadog_checks")
relPyPath = filepath.Join("..", "embedded2", pythonBin)
relChecksPath = filepath.Join("..", "embedded2", "Lib", "site-packages", "datadog_checks")
relReqAgentReleasePath = filepath.Join("..", reqAgentReleaseFile)
relConstraintsPath = filepath.Join("..", constraintsFile)
)
Expand Down

0 comments on commit b53c092

Please sign in to comment.