Skip to content

Commit

Permalink
Always log errors creating machines and volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
bison committed Sep 12, 2018
1 parent 29eec15 commit cd386e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloud/libvirt/actuators/machine/actuator.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func (a *Actuator) Create(cluster *clusterv1.Cluster, machine *clusterv1.Machine
// TODO: hack to increase IPs. Build proper logic in setNetworkInterfaces method
a.cidrOffset++
if err := libvirtutils.CreateVolumeAndMachine(machine, a.cidrOffset); err != nil {
glog.Errorf("Coud not create libvirt machine: %v", err)
return fmt.Errorf("error creating machine %v", err)
}
return nil
Expand Down

0 comments on commit cd386e4

Please sign in to comment.