Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
data-source/aws_iam_server_certificate: Fixes for tfproviderlint R002 (…
…#11920) Reference: #9952 Remove extraneous pointer value dereferences, which cause potential panics and are extraneous as `Set()` automatically handles pointer types including when `nil`. Previously: ``` aws/data_source_aws_iam_server_certificate.go:142:15: R002: ResourceData.Set() pointer value dereference is extraneous aws/data_source_aws_iam_server_certificate.go:143:16: R002: ResourceData.Set() pointer value dereference is extraneous aws/data_source_aws_iam_server_certificate.go:144:16: R002: ResourceData.Set() pointer value dereference is extraneous ``` Also removes extraneous time conversion function. Output from acceptance testing: ``` --- PASS: TestAccAWSDataSourceIAMServerCertificate_matchNamePrefix (4.36s) --- PASS: TestAccAWSDataSourceIAMServerCertificate_basic (16.79s) --- PASS: TestAccAWSDataSourceIAMServerCertificate_path (17.37s) ```
- Loading branch information