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

minor fix iam error messages, removed double for #9645

Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 3 additions & 0 deletions .changelog/4996.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
2 changes: 1 addition & 1 deletion google/iam_healthcare_dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func NewHealthcareDatasetIamUpdater(d TerraformResourceData, config *Config) (Re
datasetId, err := parseHealthcareDatasetId(dataset, config)

if err != nil {
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for for %s: {{err}}", dataset), err)
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for %s: {{err}}", dataset), err)
}

return &HealthcareDatasetIamUpdater{
Expand Down
2 changes: 1 addition & 1 deletion google/iam_healthcare_dicom_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func NewHealthcareDicomStoreIamUpdater(d TerraformResourceData, config *Config)
dicomStoreId, err := parseHealthcareDicomStoreId(dicomStore, config)

if err != nil {
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for for %s: {{err}}", dicomStore), err)
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for %s: {{err}}", dicomStore), err)
}

return &HealthcareDicomStoreIamUpdater{
Expand Down
2 changes: 1 addition & 1 deletion google/iam_healthcare_fhir_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func NewHealthcareFhirStoreIamUpdater(d TerraformResourceData, config *Config) (
fhirStoreId, err := parseHealthcareFhirStoreId(fhirStore, config)

if err != nil {
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for for %s: {{err}}", fhirStore), err)
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for %s: {{err}}", fhirStore), err)
}

return &HealthcareFhirStoreIamUpdater{
Expand Down
2 changes: 1 addition & 1 deletion google/iam_healthcare_hl7_v2_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func NewHealthcareHl7V2StoreIamUpdater(d TerraformResourceData, config *Config)
hl7V2StoreId, err := parseHealthcareHl7V2StoreId(hl7V2Store, config)

if err != nil {
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for for %s: {{err}}", hl7V2Store), err)
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for %s: {{err}}", hl7V2Store), err)
}

return &HealthcareHl7V2StoreIamUpdater{
Expand Down
2 changes: 1 addition & 1 deletion google/iam_kms_crypto_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func NewKmsCryptoKeyIamUpdater(d TerraformResourceData, config *Config) (Resourc
cryptoKeyId, err := parseKmsCryptoKeyId(cryptoKey, config)

if err != nil {
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for for %s: {{err}}", cryptoKey), err)
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for %s: {{err}}", cryptoKey), err)
}

return &KmsCryptoKeyIamUpdater{
Expand Down
2 changes: 1 addition & 1 deletion google/iam_kms_key_ring.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func NewKmsKeyRingIamUpdater(d TerraformResourceData, config *Config) (ResourceI
keyRingId, err := parseKmsKeyRingId(keyRing, config)

if err != nil {
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for for %s: {{err}}", keyRing), err)
return nil, errwrap.Wrapf(fmt.Sprintf("Error parsing resource ID for %s: {{err}}", keyRing), err)
}

return &KmsKeyRingIamUpdater{
Expand Down