mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 01:34:11 +03:00
Add missing _(...) around 2 error messages in test driver
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
db582fa25f
commit
7c7d01e15f
@ -2203,7 +2203,7 @@ testDomainSetVcpusFlags(virDomainPtr domain, unsigned int nrCpus,
|
||||
|
||||
if (nrCpus > maxvcpus) {
|
||||
testError(VIR_ERR_INVALID_ARG,
|
||||
"requested cpu amount exceeds maximum (%d > %d)",
|
||||
_("requested cpu amount exceeds maximum (%d > %d)"),
|
||||
nrCpus, maxvcpus);
|
||||
goto cleanup;
|
||||
}
|
||||
@ -4057,7 +4057,7 @@ testStorageFindPoolSources(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||
case VIR_STORAGE_POOL_NETFS:
|
||||
if (!source || !source->hosts[0].name) {
|
||||
testError(VIR_ERR_INVALID_ARG,
|
||||
"%s", "hostname must be specified for netfs sources");
|
||||
"%s", _("hostname must be specified for netfs sources"));
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user