mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fix warn_until call
This is pointing at a release using the old versioning scheme.
This commit is contained in:
parent
59e0f97ed2
commit
3abfc2c904
@ -459,8 +459,8 @@ def run(name,
|
|||||||
docked_onlyif=None,
|
docked_onlyif=None,
|
||||||
docked_unless=None,
|
docked_unless=None,
|
||||||
*args, **kwargs):
|
*args, **kwargs):
|
||||||
'''Run a command in a specific container
|
'''
|
||||||
|
Run a command in a specific container
|
||||||
|
|
||||||
You can match by either name or hostname
|
You can match by either name or hostname
|
||||||
|
|
||||||
@ -487,9 +487,10 @@ def run(name,
|
|||||||
|
|
||||||
'''
|
'''
|
||||||
if hostname:
|
if hostname:
|
||||||
salt.utils.warn_until((0, 19),
|
salt.utils.warn_until(
|
||||||
'The argument \'hostname\' argument'
|
'Helium',
|
||||||
' has been deprecated.')
|
'The \'hostname\' argument has been deprecated.'
|
||||||
|
)
|
||||||
retcode = __salt__['docker.retcode']
|
retcode = __salt__['docker.retcode']
|
||||||
drun_all = __salt__['docker.run_all']
|
drun_all = __salt__['docker.run_all']
|
||||||
valid = functools.partial(_valid, name=name)
|
valid = functools.partial(_valid, name=name)
|
||||||
|
Loading…
Reference in New Issue
Block a user