Skip to content

Commit

Permalink
Remove unused id list from ImportIdFormatsFromResource function (Goog…
Browse files Browse the repository at this point in the history
  • Loading branch information
zli82016 authored Nov 13, 2024
1 parent 4f92f59 commit 4dc6dd6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mmv1/api/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -1007,11 +1007,6 @@ func (r Resource) TerraformName() string {
}

func (r Resource) ImportIdFormatsFromResource() []string {

var ids []string
for _, id := range r.GetIdentity() {
ids = append(ids, google.Underscore(id.Name))
}
return ImportIdFormats(r.ImportFormat, r.Identity, r.BaseUrl)
}

Expand Down

0 comments on commit 4dc6dd6

Please sign in to comment.