Skip to content

Commit 8fd44ff

Browse files
Remove two unused structs
1 parent 24ca083 commit 8fd44ff

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

internal/elasticsearch/security/api_key.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,6 @@ func ResourceApiKey() *schema.Resource {
9292
}
9393
}
9494

95-
type esVersion struct {
96-
Number string `json:"number"`
97-
BuildFlavor string `json:"build_flavor"`
98-
}
99-
100-
type info struct {
101-
Version esVersion `json:"version"`
102-
Tagline string `json:"tagline"`
103-
}
104-
10595
func resourceSecurityApiKeyCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics {
10696
client, diags := clients.NewApiClientFromSDKResource(d, meta)
10797
if diags.HasError() {

0 commit comments

Comments
 (0)