From bef3dcb450576506ea47f5065c3aed4873af9d39 Mon Sep 17 00:00:00 2001 From: Craig Squire <677724+csquire@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:03:25 -0600 Subject: [PATCH] gofmt --- .../objects/environment/data_source_all_acceptance_test.go | 3 ++- pkg/sdkv2/resources/databricks_credential.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/framework/objects/environment/data_source_all_acceptance_test.go b/pkg/framework/objects/environment/data_source_all_acceptance_test.go index d448079..ff93721 100644 --- a/pkg/framework/objects/environment/data_source_all_acceptance_test.go +++ b/pkg/framework/objects/environment/data_source_all_acceptance_test.go @@ -96,7 +96,8 @@ func environments( project_id = dbtcloud_project.test_project2.id depends_on = [dbtcloud_environment.test_environment1, dbtcloud_environment.test_environment2] } - `, randomProjectName1, + `, + randomProjectName1, randomProjectName2, randomEnvironmentName1, acctest_config.AcceptanceTestConfig.DbtCloudVersion, diff --git a/pkg/sdkv2/resources/databricks_credential.go b/pkg/sdkv2/resources/databricks_credential.go index 1df531a..52a21a1 100644 --- a/pkg/sdkv2/resources/databricks_credential.go +++ b/pkg/sdkv2/resources/databricks_credential.go @@ -410,7 +410,7 @@ func resourceDatabricksCredentialUpdateGlobConn( d.Get("catalog").(string), ) - for key, _ := range patchCredentialsDetails.Fields { + for key := range patchCredentialsDetails.Fields { if d.Get(key) == nil || !d.HasChange(key) { delete(patchCredentialsDetails.Fields, key) }