[Libguestfs] [PATCH libnbd 1/9] api: Don't duplicate connect_uri documentation.

Richard W.M. Jones rjones at redhat.com
Sat Aug 10 13:02:40 UTC 2019


The documentation for nbd_aio_connect_uri already refers the user to
the documentation for nbd_connect_uri, so we don't need to duplicate
documentation between these two calls.
---
 generator/generator | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/generator/generator b/generator/generator
index 60e926b..78c6ca6 100755
--- a/generator/generator
+++ b/generator/generator
@@ -1712,12 +1712,7 @@ documented in C<nbd_connect_uri>.
 You can check if the connection is still connecting by calling
 C<nbd_aio_is_connecting>, or if it has connected to the server
 and completed the NBD handshake by calling C<nbd_aio_is_ready>,
-on the connection.
-
-This call will fail if libnbd was not compiled with libxml2; you can
-test whether this is the case with C<nbd_supports_uri>.  Support for
-URIs that require TLS will fail if libnbd was not compiled with
-gnutls; you can test whether this is the case with C<nbd_supports_tls>.";
+on the connection.";
   };
 
   "aio_connect_unix", {
-- 
2.22.0




More information about the Libguestfs mailing list