Homogenize flatteners in PubSub. (#3197)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-03-06 11:05:10 -08:00 committed by Nathan McKinley
parent 3afd2373df
commit b9eb735747

View File

@ -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
@ -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