Fix kvm ensureNetwork

pull/4323/head
josedonizetti 2019-05-22 16:19:09 -03:00
parent 572713c481
commit e3bf4bd7ec
1 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@ func (d *Driver) ensureNetwork() error {
// Start the default network
// It is assumed that the libvirt/kvm installation has already created this network
log.Infof("Ensuring network %s is active", defaultNetworkName)
if err := setupNetwork(conn, defaultNetworkName); err != nil {
log.Infof("Ensuring network %s is active", d.Network)
if err := setupNetwork(conn, d.Network); err != nil {
return err
}