[libvirt] [PATCH go-xml 2/4] doc: Variable is already defined

Philipp Hahn hahn at univention.de
Thu Nov 21 16:18:04 UTC 2019


Signed-off-by: Philipp Hahn <hahn at univention.de>
---
 doc.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc.go b/doc.go
index f97f2eb..d1f94b2 100644
--- a/doc.go
+++ b/doc.go
@@ -55,7 +55,7 @@
 //  xmldoc, err := dom.GetXMLDesc(0)
 //
 //  domcfg := &libvirtxml.Domain{}
-//  err := domcfg.Unmarshal(xmldoc)
+//  err = domcfg.Unmarshal(xmldoc)
 //
 //  fmt.Printf("Virt type %s", domcfg.Type)
 //
-- 
2.20.1





More information about the libvir-list mailing list