Skip to content

Commit

Permalink
Skip python version autoset if using an RC build (#7653)
Browse files Browse the repository at this point in the history
  • Loading branch information
florimondmanca authored Dec 2, 2020
1 parent 4288187 commit 41960aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datadog_checks_dev/datadog_checks/dev/tooling/e2e/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def __init__(
self.config_file = locate_config_file(check, env)
self.config_file_name = config_file_name(self.check)

# If we use a default build, and it's missing the py suffix, adds it
if default_agent and self.agent_build and 'py' not in self.agent_build:
# If we use a default non-RC build, and it's missing the py suffix, adds it
if default_agent and self.agent_build and 'rc' not in self.agent_build and 'py' not in self.agent_build:
# Agent 6 image no longer supports -pyX
if self.agent_build != 'datadog/agent:6':
self.agent_build = f'{self.agent_build}-py{self.python_version}'
Expand Down

0 comments on commit 41960aa

Please sign in to comment.