mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #46338 from rallytime/fix-44831
Remove cmd.wait deprecation reference in docs
This commit is contained in:
commit
07b5d09ac1
1 changed files with 1 additions and 2 deletions
|
@ -199,8 +199,7 @@ executed when the state it is watching changes. Example:
|
|||
``cmd.wait`` itself does not do anything; all functionality is inside its ``mod_watch``
|
||||
function, which is called by ``watch`` on changes.
|
||||
|
||||
``cmd.wait`` will be deprecated in future due to the confusion it causes. The
|
||||
preferred format is using the :ref:`onchanges Requisite <requisites-onchanges>`, which
|
||||
The preferred format is using the :ref:`onchanges Requisite <requisites-onchanges>`, which
|
||||
works on ``cmd.run`` as well as on any other state. The example would then look as follows:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
|
Loading…
Add table
Reference in a new issue