Skip to content

Commit

Permalink
[cm-api] OPSAPS-36009 Comment for command retry in the cm_api Python
Browse files Browse the repository at this point in the history
github needs to be updated.

- Removed the note in the comment/doc "Note: The retry will only work
for ClusterUpgrade command for now". This is not valid anymore and more
commands could become retriable soon. Maintaining a while list here is
not reasonable. A command that cannot be retried its canRetry attribute
will be false. That should be good enough.
  • Loading branch information
Vivek Chaudhary committed Aug 29, 2016
1 parent e15c764 commit 2e65c05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/src/cm_api/endpoints/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,6 @@ def abort(self):
def retry(self):
"""
Retry a failed or aborted command.
Note: The retry will only work for ClusterUpgrade command for now.
@return: A new ApiCommand object with the updated information.
"""
Expand Down

0 comments on commit 2e65c05

Please sign in to comment.