Skip to content

Commit

Permalink
Removing temporary and useless vars
Browse files Browse the repository at this point in the history
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
  • Loading branch information
nmaupu and mloiseleur authored Dec 22, 2024
1 parent 4e899ca commit b7c7123
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions provider/ovh/ovh.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ func (p *OVHProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) (

allChanges := make([]ovhChange, 0, countTargets(changes.Create, changes.UpdateNew, changes.UpdateOld, changes.Delete))

changesCreate := newOvhChange(ovhCreate, changes.Create, zones, records)
changesUpdateNew := newOvhChange(ovhCreate, changes.UpdateNew, zones, records)
changesUpdateOld := newOvhChange(ovhDelete, changes.UpdateOld, zones, records)
changesDelete := newOvhChange(ovhDelete, changes.Delete, zones, records)

allChanges = append(allChanges, newOvhChange(ovhCreate, changes.Create, zones, records))

Check failure on line 166 in provider/ovh/ovh.go

View workflow job for this annotation

GitHub Actions / Build

cannot use newOvhChange(ovhCreate, changes.Create, zones, records) (value of type []ovhChange) as ovhChange value in argument to append

Check failure on line 166 in provider/ovh/ovh.go

View workflow job for this annotation

GitHub Actions / Build

cannot use newOvhChange(ovhCreate, changes.Create, zones, records) (value of type []ovhChange) as ovhChange value in argument to append

Check failure on line 166 in provider/ovh/ovh.go

View workflow job for this annotation

GitHub Actions / Build

cannot use newOvhChange(ovhCreate, changes.Create, zones, records) (value of type []ovhChange) as ovhChange value in argument to append

Check failure on line 166 in provider/ovh/ovh.go

View workflow job for this annotation

GitHub Actions / Build

cannot use newOvhChange(ovhCreate, changes.Create, zones, records) (value of type []ovhChange) as ovhChange value in argument to append

Check failure on line 166 in provider/ovh/ovh.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

cannot use newOvhChange(ovhCreate, changes.Create, zones, records) (value of type []ovhChange) as ovhChange value in argument to append
allChanges = append(allChanges, newOvhChange(ovhCreate, changes.UpdateNew, zones, records))

Check failure on line 167 in provider/ovh/ovh.go

View workflow job for this annotation

GitHub Actions / Build

cannot use newOvhChange(ovhCreate, changes.UpdateNew, zones, records) (value of type []ovhChange) as ovhChange value in argument to append

Check failure on line 167 in provider/ovh/ovh.go

View workflow job for this annotation

GitHub Actions / Build

cannot use newOvhChange(ovhCreate, changes.UpdateNew, zones, records) (value of type []ovhChange) as ovhChange value in argument to append

Check failure on line 167 in provider/ovh/ovh.go

View workflow job for this annotation

GitHub Actions / Build

cannot use newOvhChange(ovhCreate, changes.UpdateNew, zones, records) (value of type []ovhChange) as ovhChange value in argument to append

Check failure on line 167 in provider/ovh/ovh.go

View workflow job for this annotation

GitHub Actions / Build

cannot use newOvhChange(ovhCreate, changes.UpdateNew, zones, records) (value of type []ovhChange) as ovhChange value in argument to append

Check failure on line 167 in provider/ovh/ovh.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

cannot use newOvhChange(ovhCreate, changes.UpdateNew, zones, records) (value of type []ovhChange) as ovhChange value in argument to append
Expand Down

0 comments on commit b7c7123

Please sign in to comment.