[PATCH] docs/api.rst: revert erroneously change of Once -> OnDevice

Cleber Rosa posted 1 patch 1 week, 1 day ago
docs/api.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs/api.rst: revert erroneously change of Once -> OnDevice
Posted by Cleber Rosa 1 week, 1 day ago
Commit af1b89d1d for some reason changed a perfectly fine statement to
one that I could not understand.  Let's revert it.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
 docs/api.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/api.rst b/docs/api.rst
index cdba642967..243303de68 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -26,7 +26,7 @@ name will default to a preselected hypervisor, but it's probably not a
 wise thing to do in most cases. See the `connection URI <uri.html>`__
 page for a full descriptions of the values allowed.
 
-OnDevice the application obtains a
+Once the application obtains a
 `virConnectPtr <html/libvirt-libvirt-host.html#virConnectPtr>`__
 connection to the hypervisor it can then use it to manage the
 hypervisor's available domains and related virtualization resources,
-- 
2.48.1
Re: [PATCH] docs/api.rst: revert erroneously change of Once -> OnDevice
Posted by Jiri Denemark 1 week ago
On Mon, Mar 03, 2025 at 21:19:49 -0500, Cleber Rosa wrote:
> Commit af1b89d1d for some reason changed a perfectly fine statement to
> one that I could not understand.  Let's revert it.
> 
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
>  docs/api.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/docs/api.rst b/docs/api.rst
> index cdba642967..243303de68 100644
> --- a/docs/api.rst
> +++ b/docs/api.rst
> @@ -26,7 +26,7 @@ name will default to a preselected hypervisor, but it's probably not a
>  wise thing to do in most cases. See the `connection URI <uri.html>`__
>  page for a full descriptions of the values allowed.
>  
> -OnDevice the application obtains a
> +Once the application obtains a
>  `virConnectPtr <html/libvirt-libvirt-host.html#virConnectPtr>`__
>  connection to the hypervisor it can then use it to manage the
>  hypervisor's available domains and related virtualization resources,

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>

and pushed, thanks.