[Pkg-libvirt-commits] [SCM] Libguestfs Debian packaging branch, experimental, updated. debian/1%1.21.40-1
Richard W.M. Jones
rjones at redhat.com
Sat Jun 1 11:05:03 UTC 2013
The following commit has been merged in the experimental branch:
commit f3bbd1f4ddc26b266d38666c1526549833ceeab7
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Mon May 20 15:27:36 2013 +0100
gluster: Don't force gluster port number to be specified.
Gluster can choose its own port number.
diff --git a/src/drives.c b/src/drives.c
index 2812bdb..ce58fb4 100644
--- a/src/drives.c
+++ b/src/drives.c
@@ -200,19 +200,11 @@ create_drive_gluster (guestfs_h *g,
return NULL;
}
-
if (nr_servers != 1) {
error (g, _("gluster: you must specify exactly one server"));
return NULL;
}
- if ((servers[0].transport == drive_transport_none ||
- servers[0].transport == drive_transport_tcp) &&
- servers[0].port == 0) {
- error (g, _("gluster: port number must be specified"));
- return NULL;
- }
-
if (STREQ (exportname, "")) {
error (g, _("gluster: volume name parameter should not be an empty string"));
return NULL;
--
Libguestfs Debian packaging
More information about the Pkg-libvirt-commits
mailing list