Fix warn_until call

This is pointing at a release using the old versioning scheme.
This commit is contained in:
Erik Johnson 2014-04-17 15:11:08 -05:00
parent 59e0f97ed2
commit 3abfc2c904

View File

@ -459,8 +459,8 @@ def run(name,
docked_onlyif=None,
docked_unless=None,
*args, **kwargs):
'''Run a command in a specific container
'''
Run a command in a specific container
You can match by either name or hostname
@ -487,9 +487,10 @@ def run(name,
'''
if hostname:
salt.utils.warn_until((0, 19),
'The argument \'hostname\' argument'
' has been deprecated.')
salt.utils.warn_until(
'Helium',
'The \'hostname\' argument has been deprecated.'
)
retcode = __salt__['docker.retcode']
drun_all = __salt__['docker.run_all']
valid = functools.partial(_valid, name=name)