You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/cloud
Vince v. Oosten fd418c19c2 move environment variable gathering to end of __init__() (#3890)
* This moves the lines in the code that parse the `env` and `env_file` options for docker to the end of the `__init__()` function.
This is needed because the `_check_capabilites` function needs both a working `self.client` and a proper `self.docker_py_versioninfo`.
`_check_capabilities` is used by `ensure_capabilities` which is, in turn, used by `get_environment`

This means that before this commit, the environment variables could not be loaded because both `self.client` and `self.docker_py_versioninfo` were not set at that time.

This commit fixes that by putting the environment variable parsing after those two.

* This moves the lines in the code that parse the `env` and `env_file` options for docker to the end of the `__init__()` function.
This is needed because the `_check_capabilites` function needs both a working `self.client` and a proper `self.docker_py_versioninfo`.
`_check_capabilities` is used by `ensure_capabilities` which is, in turn, used by `get_environment`

This means that before this commit, the environment variables could not be loaded because both `self.client` and `self.docker_py_versioninfo` were not set at that time.

This commit fixes that by putting the environment variable parsing after those two.
10 years ago
..
amazon Iam trust policy (#3885) 10 years ago
azure Fix 3857 name regex 10 years ago
digital_ocean Fixing compile time error exception handling for python 3. (#3843) 10 years ago
docker move environment variable gathering to end of __init__() (#3890) 10 years ago
google correct gs_storage docs to match reality 10 years ago
linode Py3 exclude list (#3698) 10 years ago
openstack Fixing open stack compile time errors irt exception handling for Python 3 (#3848) 10 years ago
rackspace Fixing Rackspace compile time errors irt exception handling for Python 3 (#3849) 10 years ago
vmware Port vsphere_guest to py3/py2.4 syntax (#3721) 10 years ago
__init__.py package files 11 years ago