mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #39988 from terminalmage/dockerng-timeout
Add comment explaining change from #39973
This commit is contained in:
commit
e125c94ba5
1 changed files with 2 additions and 0 deletions
|
@ -775,6 +775,8 @@ def _get_client(timeout=None):
|
|||
- docker.url: URL to the docker service
|
||||
- docker.version: API version to use (default: "auto")
|
||||
'''
|
||||
# In some edge cases, the client instance is missing attributes. Don't use
|
||||
# the cached client in those cases.
|
||||
if 'docker.client' not in __context__ \
|
||||
or not hasattr(__context__['docker.client'], 'timeout'):
|
||||
client_kwargs = {}
|
||||
|
|
Loading…
Add table
Reference in a new issue