Skip to content

Commit

Permalink
fix: fix a lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-hm19 committed Aug 28, 2023
1 parent c40d7ea commit 33b2b97
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/generator/appconfiguration/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ func TerraformResource(id string, dependsOn []string, attrs, exts map[string]int
// TerraformResourceID returns the unique ID of a Terraform resource
// based on its provider, type and name.
func TerraformResourceID(provider *models.Provider, resourceType string, resourceName string) string {
// resource id example: hashicorp:aws:aws_db_instance:wordpressdev
return provider.Namespace + ":" + provider.Name + ":" + string(resourceType) + ":" + resourceName

Check failure on line 115 in pkg/generator/appconfiguration/util.go

View workflow job for this annotation

GitHub Actions / Golang Lint

unnecessary conversion (unconvert)
}

Expand Down

0 comments on commit 33b2b97

Please sign in to comment.