Skip to content

Commit

Permalink
Homogenize flatteners in PubSub. (hashicorp#505)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored and nat-henderson committed Mar 6, 2019
1 parent a0ec23d commit 194ba77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google-beta/resource_pubsub_subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func flattenPubsubSubscriptionAckDeadlineSeconds(v interface{}, d *schema.Resour
return v
}

func expandPubsubSubscriptionName(v interface{}, d *schema.ResourceData, config *Config) (interface{}, error) {
func expandPubsubSubscriptionName(v interface{}, d TerraformResourceData, config *Config) (interface{}, error) {
project, err := getProject(d, config)
if err != nil {
return "", err
Expand All @@ -372,7 +372,7 @@ func expandPubsubSubscriptionName(v interface{}, d *schema.ResourceData, config
return fmt.Sprintf("projects/%s/subscriptions/%s", project, subscription), nil
}

func expandPubsubSubscriptionTopic(v interface{}, d *schema.ResourceData, config *Config) (interface{}, error) {
func expandPubsubSubscriptionTopic(v interface{}, d TerraformResourceData, config *Config) (interface{}, error) {
project, err := getProject(d, config)
if err != nil {
return "", err
Expand Down

0 comments on commit 194ba77

Please sign in to comment.