+ Add os info for VM image.

This commit is contained in:
wangjianhua
2022-11-15 13:07:57 +08:00
parent 78e89ded46
commit fdf3e3cb16
+1
View File
@@ -320,6 +320,7 @@ class zahostModel extends model
$image->status = $status;
$this->dao->update(TABLE_IMAGE)
->set('osCategory')->eq($image->os)
->set('status')->eq($status)
->set('path')->eq($currentTask->path)
->where('id')->eq($image->id)->exec();