Merge "Fix precheck call on deploy start"

This commit is contained in:
Zuul 2024-01-22 15:59:24 +00:00 committed by Gerrit Code Review
commit 478958287d
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
"""
Copyright (c) 2023 Wind River Systems, Inc.
Copyright (c) 2023-2024 Wind River Systems, Inc.
SPDX-License-Identifier: Apache-2.0
@ -2023,7 +2023,7 @@ class PatchController(PatchService):
if utils.is_upgrade_deploy(SW_VERSION, release["sw_version"]):
to_release = release["sw_version"]
ret = self._do_deploy_precheck(to_release, force)
ret = self._deploy_precheck(to_release, force)
if ret["error"]:
ret["error"] = "The following issues have been detected which prevent " \
"deploying %s\n" % deployment + \