Merge "Fail to notify changes in feed repo"

This commit is contained in:
Zuul
2024-07-18 19:04:14 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -93,9 +93,6 @@ class DeployController(RestController):
if result and 'error' in result and result["error"] != "":
response.status = 406
sc.send_latest_feed_commit_to_agent()
sc.software_sync()
return result
@expose(method='GET', template='json')

View File

@@ -2578,6 +2578,9 @@ class PatchController(PatchService):
deploy_state.start_done()
self._update_state_to_peer()
self.send_latest_feed_commit_to_agent()
self.software_sync()
def wait_deploy_patch_then_run(self, proc, metadata_file, previous_commit, feed_repo):
def monitor():
p = proc.wait()