Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/provider: Enable tfproviderlint R002 check #12033

Merged
merged 2 commits into from
Mar 10, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ lint:
-AT002 \
-AT006 \
-AT007 \
-R002 \
-R004 \
-S001 \
-S002 \
Expand Down
4 changes: 2 additions & 2 deletions aws/resource_aws_sns_platform_application.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ func resourceAwsSnsPlatformApplicationRead(d *schema.ResourceData, meta interfac
// Some of the fetched attributes are stateful properties such as
// the number of subscriptions, the owner, etc. skip those
if resource.Schema[iKey] != nil {
value := *attrmap[oKey]
value := aws.StringValue(attrmap[oKey])
log.Printf("[DEBUG] Updating %s => %s -> %s", iKey, oKey, value)
d.Set(iKey, *attrmap[oKey])
d.Set(iKey, value)
}
}
}
Expand Down