[libsys-virt-perl] 03/11: storagepool: Adjust the documentation for destroy and undefine methods

Salvatore Bonaccorso carnil at debian.org
Tue Jan 23 20:40:25 UTC 2018


This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to branch master
in repository libsys-virt-perl.

commit bc1aa54390a8d721e2a23a5a39e6c9cf52804bc1
Author: Francesc Guasch <frankie at telecos.upc.edu>
Date:   Sat Dec 30 09:15:34 2017 +0100

    storagepool: Adjust the documentation for destroy and undefine methods
    
    This fixes some copy-paste leftover from domain API description that is
    not relevant for storage pools as well as drops a mention of a "shutdown"
    method which doesn't exist.
    
    Signed-off-by: Erik Skultety <eskultet at redhat.com>
---
 lib/Sys/Virt/StoragePool.pm | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/lib/Sys/Virt/StoragePool.pm b/lib/Sys/Virt/StoragePool.pm
index 0bc1d50..f4d5696 100644
--- a/lib/Sys/Virt/StoragePool.pm
+++ b/lib/Sys/Virt/StoragePool.pm
@@ -115,14 +115,11 @@ C<define_storage_pool> method in L<Sys::Virt>.
 
 Remove the configuration associated with a storage pool previously defined
 with the C<define_storage pool> method in L<Sys::Virt>. If the storage pool is
-running, you probably want to use the C<shutdown> or C<destroy>
-methods instead.
+running, you probably want to use the C<destroy> method instead.
 
 =item $pool->destroy()
 
-Immediately terminate the machine, and remove it from the virtual
-machine monitor. The C<$pool> handle is invalid after this call
-completes and should not be used again.
+Immediately stop the storage pool.
 
 =item $flag = $pool->get_autostart();
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsys-virt-perl.git



More information about the Pkg-perl-cvs-commits mailing list