Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kubernetes/minikube
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 107a7bc4381f523b072310a8e6a463be673f63bf
Choose a base ref
..
head repository: kubernetes/minikube
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3a82099013a1b084496e7b77429c223442f2cbfe
Choose a head ref
Showing with 0 additions and 14 deletions.
  1. +0 −14 pkg/drivers/kvm/network.go
14 changes: 0 additions & 14 deletions pkg/drivers/kvm/network.go
Original file line number Diff line number Diff line change
@@ -150,20 +150,6 @@ func (d *Driver) createNetwork() error {
}

func (d *Driver) deleteNetwork() error {
type source struct {
//XMLName xml.Name `xml:"source"`
Network string `xml:"network,attr"`
}
type iface struct {
//XMLName xml.Name `xml:"interface"`
Source source `xml:"source"`
}
type result struct {
//XMLName xml.Name `xml:"domain"`
Name string `xml:"name"`
Interfaces []iface `xml:"devices>interface"`
}

conn, err := getConnection(d.ConnectionURI)
if err != nil {
return errors.Wrap(err, "getting libvirt connection")