Skip to content

Commit

Permalink
renamed diff function
Browse files Browse the repository at this point in the history
  • Loading branch information
apinonformoso committed Oct 10, 2023
1 parent e86cbb2 commit bdaa2b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions digitalocean/loadbalancer/resource_loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func ResourceDigitalOceanLoadbalancer() *schema.Resource {
}
}

if err := loadbalancerDiffFunction(ctx, diff, v); err != nil {
if err := loadbalancerDiffCheck(ctx, diff, v); err != nil {
return err
}

Expand Down Expand Up @@ -117,7 +117,7 @@ func resourceDigitalOceanLoadBalancerV1() map[string]*schema.Schema {
return loadBalancerV1Schema
}

func loadbalancerDiffFunction(ctx context.Context, d *schema.ResourceDiff, v interface{}) error {
func loadbalancerDiffCheck(ctx context.Context, d *schema.ResourceDiff, v interface{}) error {
typ, typSet := d.GetOk("type")
region, regionSet := d.GetOk("region")

Expand Down

0 comments on commit bdaa2b5

Please sign in to comment.