Fix precheck call on deploy start

The deploy start api is currently calling an unexistent method
name for deploy precheck. This commit changes the call to use
the correct name.

PASS: verify that deploy start calls precheck successfully

Story: 2010676
Task: 49434

Change-Id: Ib403163f253f422216e44257d6ee915e14fa859f
Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
This commit is contained in:
Heitor Matsui 2024-01-19 11:46:05 -03:00
parent f58a2d2ac0
commit 50ec80bf56
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 + \