Skip to content

Commit

Permalink
Merge branch 'fix-modifying-variation-on-flag-causes-unexpected-EOF' …
Browse files Browse the repository at this point in the history
…of github.com:jmorissette/terraform-provider-launchdarkly into fix-modifying-variation-on-flag-causes-unexpected-EOF
  • Loading branch information
jmorissette committed Mar 31, 2020
2 parents ca32be1 + 3073201 commit 8a8d073
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions launchdarkly/resource_feature_flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ func applyChangesToVariations(resourceData *schema.ResourceData, client Client)
if err != nil {
return err
}
//Update values off existing variations that wont be delete
//Update values off existing variations that were not delete
var updatePayloadValue []interface{} = make([]interface{}, 3*newNumberOfVariation)
for i := 0; i < newNumberOfVariation; i++ {
replaceValue := map[string]interface{}{
Expand Down Expand Up @@ -596,7 +596,6 @@ func applyChangesToVariations(resourceData *schema.ResourceData, client Client)
return err
}
}

return nil
}

Expand Down

0 comments on commit 8a8d073

Please sign in to comment.