Skip to content

Commit

Permalink
Fixing changes type
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaupu committed Jan 6, 2025
1 parent ae4ebf5 commit 4b1ee06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provider/ovh/ovh.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ func (p *OVHProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) (
allChanges := make([]ovhChange, 0, countTargets(changes.Create, changes.UpdateNew, changes.UpdateOld, changes.Delete))
allChanges = append(allChanges, newOvhChange(ovhCreate, changes.Create, zones, records)...)
allChanges = append(allChanges, newOvhChange(ovhCreate, changes.UpdateNew, zones, records)...)
allChanges = append(allChanges, newOvhChange(ovhCreate, changes.UpdateOld, zones, records)...)
allChanges = append(allChanges, newOvhChange(ovhCreate, changes.Delete, zones, records)...)
allChanges = append(allChanges, newOvhChange(ovhDelete, changes.UpdateOld, zones, records)...)
allChanges = append(allChanges, newOvhChange(ovhDelete, changes.Delete, zones, records)...)

log.Infof("OVH: %d changes will be done", len(allChanges))

Expand Down

0 comments on commit 4b1ee06

Please sign in to comment.