mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
change the field allow_network_sriov to allow-network-sriov according to template change
This commit is contained in:
parent
a4bff0c560
commit
be88e56dbc
@ -435,7 +435,7 @@ namespace XenAPI
|
||||
|
||||
try
|
||||
{
|
||||
XmlNode xn = xd.SelectSingleNode(@"restrictions/restriction[@field='allow_network_sriov']");
|
||||
XmlNode xn = xd.SelectSingleNode(@"restrictions/restriction[@field='allow-network-sriov']");
|
||||
if (xn == null || xn.Attributes == null)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user