Bump deprecations we forgot to remove in 2.0.0. (#362)

This commit is contained in:
Felix Fontein
2022-05-20 14:45:52 +02:00
committed by GitHub
parent 9c7415e0e7
commit 7e710f743d
3 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -187,10 +187,10 @@ def update_tls_hostname(result, old_behavior=False, deprecate_function=None, use
result['tls_hostname'] = DEFAULT_TLS_HOSTNAME
if uses_tls and deprecate_function is not None:
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",'
' please set that value explicitly.',
version='2.0.0', collection_name='community.docker')
version='3.0.0', collection_name='community.docker')
return
# get default machine name from the url