Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
service/cloudwatchlogs: Fixes for tfproviderlint R002
Reference: #9952 Remove pointer value dereferences, which can cause potential panics and are extraneous as `Set()` automatically handles pointer types including when `nil`. Previously: ``` aws/resource_aws_cloudwatch_log_destination_policy.go:77:26: R002: ResourceData.Set() pointer value dereference is extraneous aws/resource_aws_cloudwatch_log_resource_policy.go:77:27: R002: ResourceData.Set() pointer value dereference is extraneous ``` Output from acceptance testing: ``` --- PASS: TestAccAWSCloudwatchLogDestinationPolicy_basic (86.97s) --- PASS: TestAccAWSCloudWatchLogResourcePolicy_basic (31.10s) ```
- Loading branch information