* Code for task #77685.

This commit is contained in:
tanghucheng
2022-12-05 08:35:45 +08:00
parent 8d0cad5108
commit b4bde0acf7
9 changed files with 67 additions and 22 deletions
+2 -2
View File
@@ -143,7 +143,7 @@ class zanodemodel extends model
/* Prepare create params. */
$agnetUrl = 'http://' . $node->ip . ':' . $this->config->zanode->defaultPort;
$param = array(
'backing' => "'{$data->name}'",
'backing' => $data->name,
'task' => $newID,
'vm' => $node->name
);
@@ -565,10 +565,10 @@ class zanodemodel extends model
foreach($tasks as $task)
{
if($type == $task->type and $taskID == $task->task) return $task;
if($taskID == $task->task) return $task;
}
}
return $result;
}
public function buildOperateMenu($node)