Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Fix new-ish vet errors #490

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
2 changes: 2 additions & 0 deletions converters/google/provider/.changelog/5658.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ func (testcase *testUnitBigQueryDataTableJSONChangeableTestCase) check(t *testin

err = resourceBigQueryTableSchemaCustomizeDiffFunc(d)
if err != nil {
t.Errorf("error on testcase %s - %w", testcase.name, err)
t.Errorf("error on testcase %s - %v", testcase.name, err)
}
if !testcase.changeable != d.IsForceNew {
t.Errorf("%s: expected d.IsForceNew to be %v, but was %v", testcase.name, !testcase.changeable, d.IsForceNew)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (testcase *testUnitBigtableGCPolicyCustomizeDiffTestcase) check(t *testing.

err := resourceBigtableGCPolicyCustomizeDiffFunc(d)
if err != nil {
t.Errorf("error on testcase %s - %w", testcase.testName, err)
t.Errorf("error on testcase %s - %v", testcase.testName, err)
}

var cleared bool = d.Cleared != nil && d.Cleared["max_age.0.duration"] == true && d.Cleared["max_age.0.days"] == true
Expand Down