Skip to content

Commit 0d2c5db

Browse files
authored
Fixup. (#86)
1 parent 494d058 commit 0d2c5db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/cloudstackzone_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func (r *CloudStackZoneReconciliationRunner) ReconcileDelete() (retRes ctrl.Resu
117117
// Address Isolated Networks.
118118
if r.ReconciliationSubject.Spec.Network.Type == infrav1.NetworkTypeIsolated {
119119
netName := r.ReconciliationSubject.Spec.Network.Name
120-
if res, err := r.GetObjectByName(netName, r.IsoNet)(); r.ShouldReturn(res, err) {
120+
if res, err := r.GetObjectByName(r.IsoNetMetaName(netName), r.IsoNet)(); r.ShouldReturn(res, err) {
121121
return res, err
122122
}
123123
if r.IsoNet.Name != "" {

0 commit comments

Comments
 (0)