mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add CLI Example for rest_sample_utils.get_test_string function (#39030)
Fixes test_valid_doc test that is failing on 2016.11
This commit is contained in:
parent
f13fb9ef1e
commit
1ff359fa58
@ -24,5 +24,12 @@ def fix_outage():
|
||||
def get_test_string():
|
||||
'''
|
||||
Helper function to test cross-calling to the __proxy__ dunder.
|
||||
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt 'rest-sample-proxy' rest_sample.get_test_string
|
||||
|
||||
'''
|
||||
return __proxy__['rest_sample.test_from_state']()
|
||||
|
Loading…
Reference in New Issue
Block a user