mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Remove cmd.wait deprecation reference in docs
There is a note about deprecating cmd.wait in the docs of the cmd state. However, this function has not been put on an official deprecation path and there are no plans to deprecate it. Therefore, we shouldn't have this note in the docs. See #44831 for more information.
This commit is contained in:
parent
a8f2f1b063
commit
90771da999
@ -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…
Reference in New Issue
Block a user