Python API in python-cinderclient

"myvol.delete" should be "myvol.delete()"

Change-Id: Iadddfed8deec1f0dee2b71effb3b4de2689d6ada
Closes-Bug: #1866374
This commit is contained in:
tushargite96 2020-09-15 21:50:14 +05:30
parent d0f10e3350
commit 7397f70957
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ can use the API like so::
ce06d0a8-5c1b-4e2c-81d2-39eca6bbfb70
>>> cinder.volumes.list()
[<Volume: ce06d0a8-5c1b-4e2c-81d2-39eca6bbfb70>]
>>>myvol.delete
>>> myvol.delete()
Alternatively, you can create a client instance using the keystoneauth session
API::