Skip to content

Commit

Permalink
Removed function that was not used in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidesneto committed Oct 19, 2024
1 parent 73180b1 commit f37a69a
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions internal/provider/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,25 +106,6 @@ func parseTsuruApp(d *schema.ResourceData) *types.TsuruAppRule {
}
}

func tsuruSchema(baseName string) *schema.Resource {
return &schema.Resource{
Schema: map[string]*schema.Schema{
"name": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
ExactlyOneOf: []string{baseName + ".0.pool"},
},
"pool": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
ExactlyOneOf: []string{baseName + ".0.name"},
},
},
}
}

func rpaasSchema(baseName string) *schema.Resource {
return &schema.Resource{
Schema: map[string]*schema.Schema{
Expand Down

0 comments on commit f37a69a

Please sign in to comment.