summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_internal/cloud/nios.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_internal/cloud/nios.py')
-rw-r--r--test/lib/ansible_test/_internal/cloud/nios.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_internal/cloud/nios.py b/test/lib/ansible_test/_internal/cloud/nios.py
index 91456ae501..c9dae517fd 100644
--- a/test/lib/ansible_test/_internal/cloud/nios.py
+++ b/test/lib/ansible_test/_internal/cloud/nios.py
@@ -49,7 +49,7 @@ class NiosProvider(CloudProvider):
"""
super(NiosProvider, self).__init__(args)
- self.__container_from_env = os.getenv('ANSIBLE_NIOSSIM_CONTAINER')
+ self.__container_from_env = os.environ.get('ANSIBLE_NIOSSIM_CONTAINER')
"""Overrides target container, might be used for development.
Use ANSIBLE_NIOSSIM_CONTAINER=whatever_you_want if you want