[libvirt] [PATCH] [libvirt-tck] vol->as_xml: fix backing store element

Fix typo that breaks setting the backing store format. --- lib/Sys/Virt/TCK/StorageVolBuilder.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Sys/Virt/TCK/StorageVolBuilder.pm b/lib/Sys/Virt/TCK/StorageVolBuilder.pm index 515795f..da90788 100644 --- a/lib/Sys/Virt/TCK/StorageVolBuilder.pm +++ b/lib/Sys/Virt/TCK/StorageVolBuilder.pm @@ -112,7 +112,7 @@ sub as_xml { $w->startTag("backingStore"); $w->dataElement("path", $self->{backingFile}); if ($self->{backingFormat}) { - $w->emptyTag("format", type => $self->{backinFormat}); + $w->emptyTag("format", type => $self->{backingFormat}); } if ($self->{secret}) { $w->startTag("encryption", format => "qcow"); -- 1.7.6.3

On Fri, Oct 14, 2011 at 11:36:14AM +0200, Guido Günther wrote:
Fix typo that breaks setting the backing store format. --- lib/Sys/Virt/TCK/StorageVolBuilder.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/Sys/Virt/TCK/StorageVolBuilder.pm b/lib/Sys/Virt/TCK/StorageVolBuilder.pm index 515795f..da90788 100644 --- a/lib/Sys/Virt/TCK/StorageVolBuilder.pm +++ b/lib/Sys/Virt/TCK/StorageVolBuilder.pm @@ -112,7 +112,7 @@ sub as_xml { $w->startTag("backingStore"); $w->dataElement("path", $self->{backingFile}); if ($self->{backingFormat}) { - $w->emptyTag("format", type => $self->{backinFormat}); + $w->emptyTag("format", type => $self->{backingFormat}); } if ($self->{secret}) { $w->startTag("encryption", format => "qcow");
ACK Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On Fri, Oct 14, 2011 at 10:39:12AM +0100, Daniel P. Berrange wrote:
On Fri, Oct 14, 2011 at 11:36:14AM +0200, Guido Günther wrote:
Fix typo that breaks setting the backing store format. --- lib/Sys/Virt/TCK/StorageVolBuilder.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/Sys/Virt/TCK/StorageVolBuilder.pm b/lib/Sys/Virt/TCK/StorageVolBuilder.pm index 515795f..da90788 100644 --- a/lib/Sys/Virt/TCK/StorageVolBuilder.pm +++ b/lib/Sys/Virt/TCK/StorageVolBuilder.pm @@ -112,7 +112,7 @@ sub as_xml { $w->startTag("backingStore"); $w->dataElement("path", $self->{backingFile}); if ($self->{backingFormat}) { - $w->emptyTag("format", type => $self->{backinFormat}); + $w->emptyTag("format", type => $self->{backingFormat}); } if ($self->{secret}) { $w->startTag("encryption", format => "qcow");
ACK Pushed. Thanks, -- Guido
participants (2)
-
Daniel P. Berrange
-
Guido Günther