mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #8069 from holmboe/fix-versionadded
Use versionadded instead of note
This commit is contained in:
commit
8652bcc901
@ -2672,12 +2672,11 @@ def mknod(name,
|
||||
|
||||
def list_backups(path, limit=None):
|
||||
'''
|
||||
.. note::
|
||||
This function will be available in version 0.17.0.
|
||||
|
||||
Lists the previous versions of a file backed up using Salt's :doc:`file
|
||||
state backup </ref/states/backup_mode>` system.
|
||||
|
||||
.. versionadded:: 0.17.0
|
||||
|
||||
path
|
||||
The path on the minion to check for backups
|
||||
limit
|
||||
@ -2728,12 +2727,11 @@ list_backup = list_backups
|
||||
|
||||
def restore_backup(path, backup_id):
|
||||
'''
|
||||
.. note::
|
||||
This function will be available in version 0.17.0.
|
||||
|
||||
Restore a previous version of a file that was backed up using Salt's
|
||||
:doc:`file state backup </ref/states/backup_mode>` system.
|
||||
|
||||
.. versionadded:: 0.17.0
|
||||
|
||||
path
|
||||
The path on the minion to check for backups
|
||||
backup_id
|
||||
@ -2788,12 +2786,11 @@ def restore_backup(path, backup_id):
|
||||
|
||||
def delete_backup(path, backup_id):
|
||||
'''
|
||||
.. note::
|
||||
This function will be available in version 0.17.0.
|
||||
|
||||
Restore a previous version of a file that was backed up using Salt's
|
||||
:doc:`file state backup </ref/states/backup_mode>` system.
|
||||
|
||||
.. versionadded:: 0.17.0
|
||||
|
||||
path
|
||||
The path on the minion to check for backups
|
||||
backup_id
|
||||
|
Loading…
Reference in New Issue
Block a user