Skip to content

Commit

Permalink
Merge pull request #3293 from candlepin/mhorky/ENT-5582_smdev-envvar
Browse files Browse the repository at this point in the history
ENT-5582: Remove container detection envvar overwrite
  • Loading branch information
jirihnidek authored Jul 3, 2023
2 parents a216cc1 + 5aacb8b commit 6d9911c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/rhsm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ def in_container() -> bool:
"""
Are we running in a container or not?
"""
# For development in containers we must be able to turn container detection off
if os.environ.get("SMDEV_CONTAINER_OFF", ""):
return False

# If the path exists, we are in a container.
#
# In UBI containers (RHEL, CentOS), paths HOST_CONFIG_DIR and HOST_ENT_CERT_DIR
Expand Down

0 comments on commit 6d9911c

Please sign in to comment.