提交 f858bcb2 编写于 作者: O Osier Yang

virsh: Do not ignore the specified flags for cmdSaveImageDefine

Introduced by commit 42c52d53, which added the support for new
flags, but forgot to update the API use to pass the flags.
上级 c42e1c39
......@@ -2346,7 +2346,7 @@ cmdSaveImageDefine(vshControl *ctl, const vshCmd *cmd)
if (virFileReadAll(xmlfile, 8192, &xml) < 0)
goto cleanup;
if (virDomainSaveImageDefineXML(ctl->conn, file, xml, 0) < 0) {
if (virDomainSaveImageDefineXML(ctl->conn, file, xml, flags) < 0) {
vshError(ctl, _("Failed to update %s"), file);
goto cleanup;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册