mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 15:15:25 +00:00
conf: Use correct attribute name in error message
The <capabilities> feature has an attribute named 'policy', but the error message mentioned the non-existing 'state' attribute instead. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
b2c5f28a72
commit
c7f6d4d010
@ -19162,7 +19162,7 @@ virDomainDefParseXML(xmlDocPtr xml,
|
||||
if ((tmp = virXMLPropString(nodes[i], "policy"))) {
|
||||
if ((def->features[val] = virDomainCapabilitiesPolicyTypeFromString(tmp)) == -1) {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||
_("unknown state attribute '%s' of feature '%s'"),
|
||||
_("unknown policy attribute '%s' of feature '%s'"),
|
||||
tmp, virDomainFeatureTypeToString(val));
|
||||
goto error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user