Skip to content

Commit 7d8e3c3

Browse files
remove redundant line and fix comments
1 parent b09c906 commit 7d8e3c3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sysdig/data_source_sysdig_secure_onboarding_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ func TestAccTrustedCloudIdentityDataSource(t *testing.T) {
1818
PreCheck: func() {
1919
if v := os.Getenv("SYSDIG_SECURE_API_TOKEN"); v == "" {
2020
t.Fatal("SYSDIG_SECURE_API_TOKEN must be set for acceptance tests")
21-
t.Fatal("SYSDIG_SECURE_API_TOKEN must be set for acceptance tests")
2221
}
2322
},
2423
ProviderFactories: map[string]func() (*schema.Provider, error){
@@ -187,10 +186,10 @@ func TestAccCloudIngestionAssetsDataSource(t *testing.T) {
187186
Config: `data "sysdig_secure_cloud_ingestion_assets" "assets" {}`,
188187
Check: resource.ComposeTestCheckFunc(
189188
resource.TestCheckResourceAttr("data.sysdig_secure_cloud_ingestion_assets.assets", "aws.%", "4"),
190-
// not asserting the gov exported fields because not every backend environme nt is gov supported and thus will have empty values
189+
// not asserting the gov exported fields because not every backend environment is gov supported and thus will have empty values
191190

192191
resource.TestCheckResourceAttrSet("data.sysdig_secure_cloud_ingestion_assets.assets", "gcp_routing_key"),
193-
// metadata fields are opaque to api backend; cloudingestion controls what f ields are passed
192+
// metadata fields are opaque to api backend; cloudingestion controls what fields are passed
194193
// asserts ingestionType and ingestionURL in metadata since it is required
195194
resource.TestCheckResourceAttr("data.sysdig_secure_cloud_ingestion_assets.assets", "gcp_metadata.ingestionType", "gcp"),
196195
resource.TestCheckResourceAttrSet("data.sysdig_secure_cloud_ingestion_assets.assets", "gcp_metadata.ingestionURL"),

0 commit comments

Comments
 (0)