mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 20:08:41 +00:00
Bump deprecations we forgot to remove in 2.0.0. (#362)
This commit is contained in:
parent
9c7415e0e7
commit
7e710f743d
3
changelogs/fragments/362-deprecations.yml
Normal file
3
changelogs/fragments/362-deprecations.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
deprecated_features:
|
||||||
|
- "docker_stack - the return values ``out`` and ``err`` that were supposed to be removed in community.docker 2.0.0 will now be removed in version 3.0.0 (https://github.com/ansible-collections/community.docker/pull/362)."
|
||||||
|
- "Various modules - the default of ``tls_hostname`` that was supposed to be removed in community.docker 2.0.0 will now be removed in version 3.0.0 (https://github.com/ansible-collections/community.docker/pull/362)."
|
||||||
@ -187,10 +187,10 @@ def update_tls_hostname(result, old_behavior=False, deprecate_function=None, use
|
|||||||
result['tls_hostname'] = DEFAULT_TLS_HOSTNAME
|
result['tls_hostname'] = DEFAULT_TLS_HOSTNAME
|
||||||
if uses_tls and deprecate_function is not None:
|
if uses_tls and deprecate_function is not None:
|
||||||
deprecate_function(
|
deprecate_function(
|
||||||
'The default value "localhost" for tls_hostname is deprecated and will be removed in community.docker 2.0.0.'
|
'The default value "localhost" for tls_hostname is deprecated and will be removed in community.docker 3.0.0.'
|
||||||
' From then on, docker_host will be used to compute tls_hostname. If you want to keep using "localhost",'
|
' From then on, docker_host will be used to compute tls_hostname. If you want to keep using "localhost",'
|
||||||
' please set that value explicitly.',
|
' please set that value explicitly.',
|
||||||
version='2.0.0', collection_name='community.docker')
|
version='3.0.0', collection_name='community.docker')
|
||||||
return
|
return
|
||||||
|
|
||||||
# get default machine name from the url
|
# get default machine name from the url
|
||||||
|
|||||||
@ -78,7 +78,7 @@ requirements:
|
|||||||
- pyyaml
|
- pyyaml
|
||||||
|
|
||||||
notes:
|
notes:
|
||||||
- Return values I(out) and I(err) have been deprecated and will be removed in community.docker 2.0.0. Use I(stdout) and I(stderr) instead.
|
- Return values I(out) and I(err) have been deprecated and will be removed in community.docker 3.0.0. Use I(stdout) and I(stderr) instead.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user