mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
Ignore 'uri' parameter in lockd driver
A 'uri' parameter was added for the benefit of sanlock. This causes a warning in the lockd driver though 2013-05-03 13:20:35.347+0000: 28403: error : virLockManagerLockDaemonNew:482 : internal error Unexpected parameter uri for object Ignore this parameter, since lockd does not require it and it is harmless if not used. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
2ffd87d820
commit
d80b5b7f86
@ -476,6 +476,8 @@ static int virLockManagerLockDaemonNew(virLockManagerPtr lock,
|
||||
priv->id = params[i].value.i;
|
||||
} else if (STREQ(params[i].key, "pid")) {
|
||||
priv->pid = params[i].value.i;
|
||||
} else if (STREQ(params[i].key, "uri")) {
|
||||
/* ignored */
|
||||
} else {
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
_("Unexpected parameter %s for object"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user