modify check_uninstall_hosts from private to public
Change-Id: I9e0523fcfb74fe9d227ea3107923cf1cd089afd3
This commit is contained in:
@@ -61,7 +61,7 @@ class API(driver.DeploymentDriver):
|
||||
discover_host_meta['id'],
|
||||
discover)
|
||||
|
||||
def _check_uninstall_hosts(self, req, cluster_id, uninstall_hosts):
|
||||
def check_uninstall_hosts(self, req, cluster_id, uninstall_hosts):
|
||||
pass
|
||||
|
||||
def prepare_ssh_discovered_node(self, req, fp, discover_host_meta):
|
||||
|
||||
6
code/daisy/daisy/api/v1/install.py
Executable file → Normal file
6
code/daisy/daisy/api/v1/install.py
Executable file → Normal file
@@ -382,9 +382,9 @@ class Controller(controller.BaseController):
|
||||
req, cluster_id, BACKENDS_UNINSTALL_ORDER)
|
||||
for backend in backends:
|
||||
backend_driver = driver.load_deployment_dirver(backend)
|
||||
backend_driver._check_uninstall_hosts(req,
|
||||
cluster_id,
|
||||
uninstall_hosts)
|
||||
backend_driver.check_uninstall_hosts(req,
|
||||
cluster_id,
|
||||
uninstall_hosts)
|
||||
uninstall_thread = Thread(
|
||||
target=backend_driver.uninstall, args=(
|
||||
req, cluster_id, uninstall_hosts))
|
||||
|
||||
Reference in New Issue
Block a user