Skip to content

Commit f868e41

Browse files
update style
1 parent 58cb991 commit f868e41

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

sysdig/data_source_sysdig_secure_onboarding.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ func dataSourceSysdigSecureCloudIngestionAssetsRead(ctx context.Context, d *sche
387387
if err != nil {
388388
return diag.FromErr(err)
389389
}
390-
390+
391391
assets, err := client.GetCloudIngestionAssetsSecure(ctx, d.Get("cloud_provider").(string), d.Get("cloud_provider_id").(string))
392392
if err != nil {
393393
return diag.FromErr(err)
@@ -476,8 +476,10 @@ func dataSourceSysdigSecureTrustedOracleAppRead(ctx context.Context, d *schema.R
476476
return nil
477477
}
478478

479-
var matchFirstCap = regexp.MustCompile("(.)([A-Z][a-z]+)")
480-
var matchAllCap = regexp.MustCompile("([a-z0-9])([A-Z])")
479+
var (
480+
matchFirstCap = regexp.MustCompile("(.)([A-Z][a-z]+)")
481+
matchAllCap = regexp.MustCompile("([a-z0-9])([A-Z])")
482+
)
481483

482484
func snakeCase(str string) string {
483485
snake := matchFirstCap.ReplaceAllString(str, "${1}_${2}")

0 commit comments

Comments
 (0)