Skip to content

Commit

Permalink
fix static check
Browse files Browse the repository at this point in the history
  • Loading branch information
rdrgmnzs authored and Rodrigo Menezes committed Aug 27, 2020
1 parent 44c2b4d commit 36a435e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions upup/pkg/fi/cloudup/awstasks/targetgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ func (_ *TargetGroup) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *TargetGrou
return fmt.Errorf("non shared Target Groups is not yet supported")
}

type terraformTargetGroup struct {
Name *string `json:"name" cty:"name"`
}

func (_ *TargetGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *TargetGroup) error {
shared := fi.BoolValue(e.Shared)
if shared {
Expand All @@ -116,10 +112,6 @@ func (e *TargetGroup) TerraformLink(params ...string) *terraform.Literal {
return nil
}

type cloudformationTargetGroup struct {
Name *string `json:"Name,omitempty"`
}

func (_ *TargetGroup) RenderCloudformation(t *cloudformation.CloudformationTarget, a, e, changes *TargetGroup) error {
shared := fi.BoolValue(e.Shared)
if shared {
Expand Down

0 comments on commit 36a435e

Please sign in to comment.