Skip to content

Commit

Permalink
Fix new-ish vet errors (GoogleCloudPlatform#5658)
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson authored and lcaggio committed Mar 17, 2022
1 parent 948489d commit e8a1c59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit e8a1c59

Please sign in to comment.