Skip to content

Commit

Permalink
- add some notes
Browse files Browse the repository at this point in the history
  • Loading branch information
szhou0116 committed Nov 6, 2019
1 parent a9b3755 commit 1d7adac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions purestorage/purestorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,10 @@ def promote_volume(self, volume):
volume's latest promotion status.
:rtype: ResponseDict
.. note::
Requires use of REST API 1.18 or later.
"""
return self.set_volume(volume, requested_promotion_state="promoted")

Expand All @@ -752,6 +756,10 @@ def demote_volume(self, volume):
volume's latest promotion status.
:rtype: ResponseDict
.. note::
Requires use of REST API 1.18 or later.
"""
return self.set_volume(volume, requested_promotion_state="demoted")

Expand Down

0 comments on commit 1d7adac

Please sign in to comment.