[Libguestfs] [PATCH 6/8] Converter: NFC code cleanup

Richard W.M. Jones rjones at redhat.com
Thu Feb 4 09:51:43 UTC 2010


On Mon, Feb 01, 2010 at 05:23:34PM +0000, Matthew Booth wrote:
> Rename _configure_metadata to _convert_metadata
> ---
>  lib/Sys/VirtV2V/Converter.pm |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/Sys/VirtV2V/Converter.pm b/lib/Sys/VirtV2V/Converter.pm
> index 1de17c8..4115c1e 100644
> --- a/lib/Sys/VirtV2V/Converter.pm
> +++ b/lib/Sys/VirtV2V/Converter.pm
> @@ -150,7 +150,7 @@ sub convert
>          unless (defined($guestcaps));
>  
>      # Convert the metadata
> -    _configure_metadata($vmm, $dom, $desc, $guestcaps);
> +    _convert_metadata($vmm, $dom, $desc, $guestcaps);
>  
>      my ($name) = $dom->findnodes('/domain/name/text()');
>      $name = $name->getNodeValue();
> @@ -164,7 +164,7 @@ sub convert
>      }
>  }
>  
> -sub _configure_metadata
> +sub _convert_metadata
>  {
>      my ($vmm, $dom, $desc, $guestcaps) = @_;
>  

ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list