Commit 0ae6815e authored by Neil Williams's avatar Neil Williams 💬 Committed by Senthil Kumaran Shanmugasundaram

Ensure RetryAction has protocol support.

Classes based on RetryAction have special support for running
pipeline actions, so have missed out on protocol support.
Add call_protocols so that these classes can be used for
pre-power or pre-os commands and other protocol actions.

Change-Id: I23ae4e1ae1437803c15031681145e5296a3771d6
parent 8bae0785
......@@ -54,6 +54,7 @@ class RetryAction(Action):
def run(self, connection, max_end_time, args=None):
retries = 0
has_failed = False
while retries < self.max_retries:
connection = self.internal_pipeline.run_actions(connection, max_end_time, args)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment